dillon1000/react
Commit
Browse files Inline commitWork into commitMutationOnFiber
There's not really any reason these should be separate functions. The factoring has gotten sloppy and redundant because there's similar logic in both places, which is more obvious now that they're combined. Next I'll start combining the redundant branches.
Changed paths3 files
First-parent comparisonpackages/react-reconciler/src/ReactFiberCommitWork.new.js ModifiedM packages/react-reconciler/src/ReactFiberCommitWork.old.js ModifiedM packages/react-reconciler/src/ReactFiberFlags.js ModifiedPatch
Files changed
Rendering syntax-highlighted changes…