-
Notifications
You must be signed in to change notification settings - Fork 48.1k
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Bug: Nested useTransition makes isPending of outer one always false #26226
Comments
sophiebits
added a commit
to sophiebits/react
that referenced
this issue
Feb 25, 2023
…ansition Fixes facebook#26226. (Is this the right fix?)
sophiebits
added a commit
to sophiebits/react
that referenced
this issue
Feb 25, 2023
…ansition Fixes facebook#26226. (Is this the right fix?)
sophiebits
added a commit
to sophiebits/react
that referenced
this issue
Mar 16, 2023
…ansition Fixes facebook#26226. (Is this the right fix?)
sophiebits
added a commit
to sophiebits/react
that referenced
this issue
Mar 16, 2023
…ansition Fixes facebook#26226. (Is this the right fix?)
sophiebits
added a commit
to sophiebits/react
that referenced
this issue
Mar 16, 2023
…ansition Fixes facebook#26226. (Is this the right fix?)
# for free
to join this conversation on GitHub.
Already have an account?
# to comment
Nested
startTransition
call "takes over" and makes parentstartTransition
unable to trackisPending
.Seb says it's a bug.
Repro:
https://codesandbox.io/s/pensive-breeze-rg70wn?file=/IndexPage.js:192-288
isPending
inIndexPage.js
istrue
However,
isPending
inApp.js
isfalse
.Expected:
isPending
inApp.js
is alsotrue
.The text was updated successfully, but these errors were encountered: