Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add SSR hydration mismatch errors #2737

Closed
JamesBurnside opened this issue Sep 1, 2020 · 1 comment · Fixed by #4490
Closed

Add SSR hydration mismatch errors #2737

JamesBurnside opened this issue Sep 1, 2020 · 1 comment · Fixed by #4490

Comments

@JamesBurnside
Copy link

In React when hydrating a server side rendered page using ReactDom.hydrate this API will produce a warning in debug builds when the html generated client side did not match the html generated server side, for example:
image

Preact should show the same warnings so developers know when a mismatch has occured.

@betula
Copy link

betula commented Nov 18, 2022

I consider this a significant point.
Please Preact - this is sorely lacking!

@rschristian rschristian changed the title No SSR hydration mismatch errors Add SSR hydration mismatch errors Apr 19, 2024
@rschristian rschristian linked a pull request Sep 12, 2024 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants