dillon1000/react

Commit

Don't read currentTransition back from internals (#30991)

This code is weird. It reads back the transition that it just set from
the shared internals. It's almost like it expects it to be a getter or
something.

This avoids that and makes it consistent with what ReactFiberHooks
already does.
Browse files
Changed paths1 file
First-parent comparison
M packages/react/src/ReactStartTransition.js Modified
Patch

Files changed

Rendering syntax-highlighted changes…