Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

🗺️ switch to startTransition #10501

Closed
ryanflorence opened this issue May 17, 2023 · 3 comments
Closed

🗺️ switch to startTransition #10501

ryanflorence opened this issue May 17, 2023 · 3 comments

Comments

@ryanflorence
Copy link
Member

ryanflorence commented May 17, 2023

@gaearon put me in a headlock at RemixConf and wouldn't let go until I agreed to do this, as well as pay for his pizza.

@ryanflorence ryanflorence changed the title switch to startTransition 🗺️ switch to startTransition May 17, 2023
@brophdawg11
Copy link
Contributor

Merged in #10438 and should be available when 6.12.0 is released

@brophdawg11 brophdawg11 added the awaiting release This issue have been fixed and will be released soon label May 18, 2023
@brophdawg11 brophdawg11 removed the awaiting release This issue have been fixed and will be released soon label Jun 6, 2023
@bug-brain
Copy link

flushSync does no longer work when navigate uses startTransition. What would be the recommended way to prevent renders while states (location and some other React state) are inconsistent?

@brophdawg11
Copy link
Contributor

6.13.0 moved the usage of startTransition behind a future flag so you can upgrade to 6.13 to avoid the usage of startTransition and then opt in when your application is compatible.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Archived in project
Development

No branches or pull requests

4 participants