facebook / facebook/relay

Add React 18 Streaming docs

Open
#3,762 4 comments 33 reactions 0 assignees View on GitHub
docs
Dominant language
Rust
Stars
19k
Forks
1.9k
PR merge metrics
No merged PRs in 30d

Description

Author of [vite-plugin-ssr](https://vite-plugin-ssr.com/) here; some of my users are trying to use Relay with React 18 Suspended Streams but there seem to be no official recommendations/docs about Relay + React 18.

It would greatly help the community to add docs or examples about how to use Relay with React 18, especially in the context of SSR + Suspense + Streaming.

Happy to contribute a Vite + vite-plugin-ssr + Relay example.

Contributor guide

Open the contributing guide

Research direction

No files or tests are named. Review the existing Relay documentation and examples for React 18, SSR, Suspense, and streaming, then investigate the proposed Vite + vite-plugin-ssr setup. Done means documenting clear recommendations or adding a working example for Relay with React 18 streaming.

Written by the indexing model from the issue text.

Assessment

Tech stack
react, vite
Domain
documentation, frontend, web-dev
Issue type
Documentation
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.