dillon1000/react

Commit

Try rendering again if a timed out tree receives an update (#13921)

Found a bug related to suspending inside an already mounted tree. While
investigating this I noticed we really don't have much coverage of
suspended updates. I think this would greatly benefit from some fuzz
testing; still haven't thought of a good test case, though.
Browse files
Changed paths5 files
First-parent comparison
M packages/jest-react/src/JestReact.js ModifiedM packages/react-reconciler/src/ReactFiberBeginWork.js ModifiedM packages/react-reconciler/src/ReactFiberSuspenseComponent.js ModifiedM packages/react-reconciler/src/ReactFiberUnwindWork.js ModifiedM packages/react-reconciler/src/__tests__/ReactSuspense-test.internal.js Modified
Patch

Files changed

Rendering syntax-highlighted changes…