dillon1000/react

Commit

Avoid conditions where control flow is sufficient (#24126)

This also fixes a type error since resetTextContent can only be called
on Instances.
Browse files
Changed paths2 files
First-parent comparison
M packages/react-reconciler/src/ReactFiberCommitWork.new.js ModifiedM packages/react-reconciler/src/ReactFiberCommitWork.old.js Modified
Patch

Files changed

Rendering syntax-highlighted changes…