dillon1000/react

Commit

[Fizz] Reset Instructions on ResumableState (#33046)

When we end up creating an incomplete state in the shell we end up not
flushing anything. As a hack, in this case we need to reset the
ResumableState because some of the ResumableState is still relevant
(e.g. any preloads that went into headers) but some of the
ResumableState needs to be reset since they assume that what we produced
actually flushed.

We didn't reset the instructions state but we haven't actually flushed
any of the instructions so it needs to reset.
Browse files
Changed paths1 file
First-parent comparison
M packages/react-dom-bindings/src/server/ReactFizzConfigDOM.js Modified
Patch

Files changed

Rendering syntax-highlighted changes…