dillon1000/react

Commit

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.
Browse files
Changed paths2 files
First-parent comparison
M packages/react-reconciler/src/ReactFiberHooks.js ModifiedM packages/react-reconciler/src/__tests__/ReactAsyncActions-test.js Modified
Patch

Files changed

Rendering syntax-highlighted changes…