dillon1000/react
Commit
Browse files Move ad hoc flag checks into main switch statement
We should always refine the type of fiber before checking the effect flag, because the fiber tag is more specific. Now we have a single switch statement for all mutation effects.
Changed paths2 files
First-parent comparisonpackages/react-reconciler/src/ReactFiberCommitWork.new.js ModifiedM packages/react-reconciler/src/ReactFiberCommitWork.old.js ModifiedPatch
Files changed
Rendering syntax-highlighted changes…