dillon1000/react
Commit
Browse files Avoid conditions where control flow is sufficient (#24126)
This also fixes a type error since resetTextContent can only be called on Instances.
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…