Does RSC SDK use ReadableStream rather than wrapping Suspense ? #4155
Quramy
started this conversation in
Ideas & Feedback
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Since v19, React RSC(Flight Protocol) allows to pass ReadableStream or AsyncItereabl directly.
Ref: facebook/react#28847
I think this React feature can solve #2843 .
Because we can return UI Component elements using
ReadableStream<JSX.Element>
from our server functions and it means RSC SDK does not need to wrapSuspense
recursively.Does RSC SDK have any plan to use this React feature ?
Beta Was this translation helpful? Give feedback.
All reactions