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

query parameters on module page result in hydration mismatch #1455

Open
danielroe opened this issue Dec 21, 2023 · 4 comments
Open

query parameters on module page result in hydration mismatch #1455

danielroe opened this issue Dec 21, 2023 · 4 comments
Labels
bug Something isn't working

Comments

@danielroe
Copy link
Member

danielroe commented Dec 21, 2023

(reported on discord) you can see by hard-reloading https://nuxt.com/modules?q=svg, for example.

probably similar to #1417

@danielroe danielroe added the bug Something isn't working label Dec 21, 2023
Copy link
Member

@danielroe Any hint on how to fix this?

@danielroe
Copy link
Member Author

I would suggest all filtering needs to take effect on client side after mount, or these categories need to be not query strings, but part of the URL.

Copy link
Member

atinux commented Dec 27, 2023

This will be fixed once we move to SSR mode

@Barbapapazes
Copy link
Contributor

same as https://github.com/unjs/website/pull/245/files#diff-7cf52a09046782a904949a0234e9fcc2ff01096b0a9ff93788c5d65bf03f2848R224.

I've got the same issue for UnJS website. Using the new Vue flag (and advice from Daniel), https://vuejs.org/api/compile-time-flags.html#VUE_PROD_HYDRATATION_MISMATCH_DETAILS, helps me to debug this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

4 participants