Relay (GraphQL)
You can use Vike with Relay.
💚There isn't a Vike extension for Relay yet, but contributions welcome to create one.
To manually integrate Relay, see:
- Tool Integration > Tool integration (more) > Data fetching
- GitHub> facebook/relay > #3468 - SSR docs (comment)
- nextjs-relay-streaming-ssr, which has an explanation in its Readme on how it works.
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:
-
2022.08 GitHub >
XiNiHa/vilay