-
-
Notifications
You must be signed in to change notification settings - Fork 6.1k
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
Hydration warning mixes up client/server results #3690
Labels
Comments
Still happening in Vite 2.9.0-beta.0, but it looks like a bug in Vue perhaps? Or something with HMR. |
sapphi-red
added
bug: upstream
Bug in a dependency of Vite
and removed
pending triage
labels
May 28, 2022
Closing as it's an upstream issue. Perhaps it's also fixed as the code has changed |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Describe the bug
The client correctly warns when there's a hydration mismatch between the client and server, but the warning mixes up the results, showing the client state as server state and vice versa.
Reproduction
Defining a component's state that's dependent on client-side hydration, something like:
Will show the warning:
System Info
Used package manager:
npm
The text was updated successfully, but these errors were encountered: