dillon1000/react
Commit
Browse files [Bugfix] Pending state is always user-blocking (#17382)
Fixes a bug where `isPending` is only set to `true` if `startTransition` is called from inside an input event. That's usually the case, but not always. Now it works regardless of where you call it.
Changed paths2 files
First-parent comparisonpackages/react-reconciler/src/ReactFiberHooks.js ModifiedA packages/react-reconciler/src/__tests__/ReactTransition-test.internal.js AddedPatch
Files changed
Rendering syntax-highlighted changes…