-
-
Notifications
You must be signed in to change notification settings - Fork 12
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 mismatch between server/client #42
Comments
On Discord it was mentioned that it might be a regression from the following change, 383c4c2#diff-5bfe4f1da13c83b1a8bb286e11eb2031499c8e193dc83da322474a1a1530e03fR24 |
I'm also wondering if the following error that also happens in my actual project when a change is made is related to the commit above? 🤔
Might be unrelated but I thought I'd mention it since the commit is involved with the vite runtime. |
Hey @johanalkstal! 👋🏻 The current hydration issue is only for Inertia 2.0 beta release. Could you let me know if you're using this version? If not, it means your code probably has a difference between the SSR version and its client version. It often happens when you have random data. Concerning your latest question about the logs Vite is showing, you can disregard it. |
Issue also exists on Inertia 1.2.2 |
Fixed in 2.0.1 and also backported to 1.2.3 |
Nice @Julien-R44 that's great! 👏 Can I install this version somehow? |
You can run |
That only installed |
Package version
1.2.2
Describe the bug
Changing the content of a Vue page causes the old content to be displayed if you reload the page.
HMR works and shows any new changes you make but reloading the page will cause the above error.
How to reproduce:
Change the content of the Home page.
Reload the browser page.
Reproduction repo
No response
The text was updated successfully, but these errors were encountered: