Withvite-plugin-ssr
we keep control over our app architecture; we can integrate Relay simply by following its SSR docs.
Reading Recommendation.
pageContext.initialData
.pageContext.initialData
available on the browser-side by adding 'initialData'
to passToClient
.pageContext.initialData
.For using Relay with React Streaming, see:
Example of a deep Relay integration with React 18's new SSR Suspense Render-as-you-Fetch architecture: