Skip to content

Commit e9ab3f4

Browse files
authored
chore(docs): Add --legacy-peer-deps flag for experimental React (#37332)
1 parent b573e21 commit e9ab3f4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/docs/how-to/performance/partial-hydration.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ We highly recommend reading the [Partial Hydration conceptual guide](/docs/conce
1515
- A Gatsby project set up with `[email protected]` or later. (Need help creating one? Follow the [Quick Start](/docs/quick-start/))
1616
- `react@experimental` and `react-dom@experimental` installed. You can install it like this:
1717
```shell
18-
npm install --save-exact react@experimental react-dom@experimental
18+
npm install --save-exact react@experimental react-dom@experimental --legacy-peer-deps
1919
```
2020
- Enable the `PARTIAL_HYDRATION` flag in `gatsby-config`:
2121
```js:title=gatsby-config.js

0 commit comments

Comments
 (0)