Vue · Senior · Question 62 of 75
What is skipHydrate in Pinia for?
- ✓Correct answer: Marking state (e.g. a ref synced with
localStorage) that shouldn't be overwritten by the server payload during hydration - 2Disabling SSR for a store
- 3Skipping getters during SSR
Explanation
Client-only values like a persisted cart would otherwise be replaced by the empty server state.