Skip to content

Commit

Permalink
chore(docs): Add --legacy-peer-deps flag for experimental React (#3…
Browse files Browse the repository at this point in the history
  • Loading branch information
graysonhicks committed Jan 3, 2023
1 parent b573e21 commit e9ab3f4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/docs/how-to/performance/partial-hydration.md
Expand Up @@ -15,7 +15,7 @@ We highly recommend reading the [Partial Hydration conceptual guide](/docs/conce
- A Gatsby project set up with `gatsby@5.0.0` or later. (Need help creating one? Follow the [Quick Start](/docs/quick-start/))
- `react@experimental` and `react-dom@experimental` installed. You can install it like this:
```shell
npm install --save-exact react@experimental react-dom@experimental
npm install --save-exact react@experimental react-dom@experimental --legacy-peer-deps
```
- Enable the `PARTIAL_HYDRATION` flag in `gatsby-config`:
```js:title=gatsby-config.js
Expand Down

0 comments on commit e9ab3f4

Please sign in to comment.