State
Use individual or grouped typed state declarations with shared, client-only, and server-only scopes.
Shared state
Render during SSR and safely hydrate serializable values into the browser.
Client state
Keep browser-only interaction state out of server artifacts.
Server state
Keep sensitive request-only state out of hydration data.