Skip to content

Commit

Permalink
another update
Browse files Browse the repository at this point in the history
  • Loading branch information
flybayer committed Apr 29, 2021
1 parent 5ed8f32 commit 072cb16
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions app/pages/docs/blitz-config.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -380,19 +380,18 @@ module.exports = {
}
```
### React Mode {#react-mode}
### React Root Mode {#react-mode}
By default Blitz uses
[React Concurrent Mode](https://reactjs.org/docs/concurrent-mode-intro.html).
You can disable it by changing `experimental.reactMode` to `legacy`.
You can disable it by changing `experimental.reactRoot` to `false`.
- Default: `concurrent`
- Options: `concurrent` | `legacy`
- Default: `true`
```js
module.exports = {
experimental: {
reactMode: "legacy",
reactRoot: false,
},
}
```

0 comments on commit 072cb16

Please sign in to comment.