dillon1000/react

Commit

[Flight] Extract special cases for Server Component return value position (#31713)

This is just moving some code into a helper.

We have a bunch of special cases for the return value slot of a Server
Component that's different from just rendering that inside an object.
This was getting a little tricky to reason about inline with the rest of
rendering.
Browse files
Changed paths1 file
First-parent comparison
M packages/react-server/src/ReactFlightServer.js Modified
Patch

Files changed

Rendering syntax-highlighted changes…