dillon1000/react

Commit

[Fizz] Simplify ReplayNode data structure (#27395)

The key is that instead of storing different tags of resumable points,
we just store if a replay node has any resumable slots and if that's at
the root `number` or if it has resumable slots by index.

This is a simpler and more compact format because we don't have to
separate the three Resume forms.

This helps deal with Postpone in fallbacks because it doesn't just
double all the cases.
Browse files
Changed paths2 files
First-parent comparison
M packages/react-server/src/ReactFizzServer.js ModifiedM scripts/error-codes/codes.json Modified
Patch

Files changed

Rendering syntax-highlighted changes…