Overview of @apollo/client-react-streaming
mainThe @apollo/client-react-streaming package provides the fundamental building blocks required to create framework-level integrations of Apollo Client with React's streaming SSR (Server-Side Rendering).
It is designed for:
- Creating custom streaming SSR integrations (e.g., with Vite).
- Building framework-specific adapters (the
@apollo/client-integration-nextjspackage is an example of an integration built using these blocks).
Key features include specialized versions of ApolloClient and InMemoryCache optimized for streaming, and various Links designed to handle multipart responses and data transport between server and client.