State marked with skipHydrate
should not be included in the Nuxt payload
#2773
Labels
skipHydrate
should not be included in the Nuxt payload
#2773
What problem is this solving
I expected that
skipHydrate
would also leave the ref out of the Nuxt payload. Nuxt throws errors when it cannot serialize certain objects. I could keep unserializable stuff out of the pinia stores, but I don't like the idea of introducing multiple solutions for shared state. I would much prefer to use Pinia for all shared state.Example CodeSandbox
Proposed solution
Make
skipHydrate
also skip transferring of values to the nuxt payload.Describe alternatives you've considered
No response
The text was updated successfully, but these errors were encountered: