vite-plugin-ssr we keep control over our app architecture and how our pages are rendered. This allows us to integrate any data store tool simply by following its official SSR docs.
Typically, the initial state of the store is set on the server (its content is server-side rendered). This initial state is then passed onto the browser for hydration; we can use
passToClient for that purpose.