--- title: Text content does not match server-rendered HTML --- ## Why This Error Occurred While rendering your application, there was a difference between the React tree that was pre-rendered from the server and the React tree that was rendered during the first render in the browser (hydration). [Hydration](https://react.dev/reference/react-dom/client/hydrateRoot) is when React converts the pre-rendered HTML from the server into a fully interactive application by attaching event handlers. ### Common Causes Hydration errors can occur from: 1. Incorrect nesting of HTML tags 1. `

` nested in another `

` tag 2. `

` nested in a `

` tag 3. [Interactive Content](https://html.spec.whatwg.org/#interactive-content-2) cannot be nested (`` nested in a `` tag, `