Update react-hydration-error.md (#43671)
This adds a new section about local overrides, as I ran into this error and it took me ages to figure out what was going wrong Co-authored-by: JJ Kasper <22380829+ijjk@users.noreply.github.com>
This commit is contained in:
parent
01649d93ab
commit
d9412b7621
1 changed files with 4 additions and 0 deletions
|
@ -82,6 +82,10 @@ Common causes with css-in-js libraries:
|
|||
- When using other css-in-js libraries
|
||||
- Similar to Styled Components / Emotion css-in-js libraries generally need configuration specified in their examples in the [examples directory](https://github.com/vercel/next.js/tree/canary/examples)
|
||||
|
||||
Local Overrides
|
||||
|
||||
It's possible you may have [Local Overrides enabled in Chrome devtools](https://developer.chrome.com/blog/new-in-devtools-65/#overrides). With this enabled, the HTML served will be different from what the SSR emitted. It also won't show up in view-source, so you may be left wondering what is going on.
|
||||
|
||||
### Useful Links
|
||||
|
||||
- [React Hydration Documentation](https://reactjs.org/docs/react-dom-client.html#hydrateroot)
|
||||
|
|
Loading…
Reference in a new issue