dillon1000/react

Commit

Move Mutation/Persistence fork inline into the functions (#26206)

We should never use any logic beyond declarations in the module scope,
including conditions, because in a cycle that can lead to problems.

More importantly, the compiler can't safely reorder statements between
these points which limits the optimizations we can do.
Browse files
Changed paths1 file
First-parent comparison
M packages/react-reconciler/src/ReactFiberCompleteWork.js Modified
Patch

Files changed

Rendering syntax-highlighted changes…