dillon1000/react
Commit
Browse files Reset stateNode in resetWorkInProgress (#18448)
* test(SuspenseList): Add failing test for class component * Reset stateNode when resetWorkInProgress This is supposed to put the Fiber into the same state as if it was just created by child fiber reconciliation. For newly created fibers, that means that stateNode is null. Co-authored-by: Sebastian Silbermann <[email protected]>
Changed paths2 files
First-parent comparisonpackages/react-reconciler/src/ReactFiber.js ModifiedM packages/react-reconciler/src/__tests__/ReactSuspenseList-test.internal.js ModifiedPatch
Files changed
Rendering syntax-highlighted changes…