Relay

With vite-plugin-ssr we keep control over our app architecture and how our pages are rendered. This allows us to integrate Relay simply by following its official SSR docs.

The initial data is fetched on the server (its content is server-side rendered). This initial data is then passed onto the browser for hydration; we can use passToClient for that purpose.

Edit this page