Zustand persist rehydration timing with SSR hydration
Goal is to define the exact moment persisted state becomes authoritative in a Zustand store that uses the persist middleware during server-side rendering. The store is created outside the React component lifecycle and persist synchronizes state to a storage engine. Hydration is the restoration of persisted state from storage into the store on application ini