leofreedy.
[CLOSED]: Hydration Nuxt 3 + Pinia
I redid my code using useState, but dont work too ☹️
I did two tests and came to this conclusion
A: When i'm using the useState in same create component (Just a unique component). It work, no hydration errors;
B: When I create and initialization my useState in a component, but use this useState in another component (adjacent). Doesnt work.
application of case B: https://stackblitz.com/edit/nuxt-starter-u2kiq1?file=app.vue
22 replies
[CLOSED]: Hydration Nuxt 3 + Pinia
It seems impossible to use nux3 + pinia + request server-side + SEO, a common case where a page shares information from a backend. It seems that the solution is to replicate the request or make the call in a parent component and move from prop to prop.
22 replies