dillon1000/react
Commit
Browse files Centralize props memoization (#13900)
* Move memoizedProps to after beginWork remove memoizeProps helper We always call this at the end. This is now enforced to line up since we do the equality check in the beginning of beginWork. So we can't have special cases. * Inline the one caller of memoizeState
Changed paths2 files
First-parent comparisonpackages/react-reconciler/src/ReactFiberBeginWork.js ModifiedM packages/react-reconciler/src/ReactFiberScheduler.js ModifiedPatch
Files changed
Rendering syntax-highlighted changes…