docs: Add missing closing tag for react hydration error message. (#52607)
This commit is contained in:
parent
82cf9a670e
commit
b89424e461
1 changed files with 1 additions and 1 deletions
|
@ -14,7 +14,7 @@ Hydration errors can occur from:
|
|||
|
||||
1. Incorrect nesting of HTML tags
|
||||
1. `<p>` nested in another `<p>` tag
|
||||
2. `<div` nested in a `<p>` tag
|
||||
2. `<div>` nested in a `<p>` tag
|
||||
2. Using checks like `typeof window !== 'undefined'` in your rendering logic
|
||||
3. Using browser-only APIs like `window` or `localStorage` in your rendering logic
|
||||
4. [Browser extensions](https://github.com/facebook/react/issues/24430) modifying the HTML
|
||||
|
|
Loading…
Reference in a new issue