dillon1000/react
Commit
Browse files Fix mount-or-update check in rerenderOptimistic (#27277)
I noticed this was wrong because it should call updateWorkInProgressHook before it checks if currentHook is null.
Changed paths2 files
First-parent comparisonpackages/react-reconciler/src/ReactFiberHooks.js ModifiedM packages/react-reconciler/src/__tests__/ReactAsyncActions-test.js ModifiedPatch
Files changed
Rendering syntax-highlighted changes…