You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Check this box if you encountered the issue using Nuxt and the included module.
Describe the bug
When I create/set a state during a component's Setup phase (in Nuxt's SSR), it is expected that the state persists on every page refresh. I would expect the cookie with the new state to be hydrated to the client after the SSR completes.
Are you using Nuxt?
Describe the bug
When I create/set a state during a component's Setup phase (in Nuxt's SSR), it is expected that the state persists on every page refresh. I would expect the cookie with the new state to be hydrated to the client after the SSR completes.
Store:
nuxt.config:
package.json:
Then anywhere in the component's setup:
And you'll see that on every refresh this session Id is different, and no cookie gets created to persist it ever.
Wasn't this supposed to work in a SSR friendly way?
Reproduction
reproduction above
System Info
Used Package Manager
npm
Validations
The text was updated successfully, but these errors were encountered: