Skip to main content
The Deno 2 Release Candidate is here
Learn more

Injecting Into the SSR Stream

Rule 1

Nothing should be injected between two React synchronous writes.

Rule 2

Nothing should be injected before the first React write.

Chunk promises

Being able to pass a chunk promise to injectToStream() is required for integrating Apollo GraphQL, see: