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
fix(nuxt): avoid premature hydration when using async layouts #22198
Conversation
Run & review this pull request in StackBlitz Codeflow. |
@danielroe This issue still seems present on Nuxt 3.7.1 when you are using a custom error layout (error.vue in the root of the application) |
@gerbenvandijk can you provide a reproduction + opening a new issue? Feel free to link this one in the new issue π |
will sort it in the coming week somewhere :) thanks for the quick response! |
After setting up a reproduction I was able to resolve it on my end, it had to do with a hydration error that was introduced due to misunderstanding on my end. I was using the |
No problem! Glad you resolved it π |
π Linked issue
resolves #22091
resolves #21999
β Type of change
π Description
In #21450, we wrongly removed a workaround for an upstream vue bug (vuejs/core#6638), introducing a regression.
This PR reverts back to the workaround but ultimately we still need to resolve in vue core.
π Checklist