You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Crash with router.invalidate() inside startTransition #7638
When using router.invalidate() inside startTransition the app crashes. The necessary precondition is that some nested route should error out with showing errorComponent
It took me a while to create this minimal repro. The first time I encountered it with using form actions with react, which I later abandoned.
First time I crate this discord question and reproduction attached with form actions: https://discord.com/channels/719702312431386674/1478737651116015730
Since then I abandoned using react form actions, startTransition, router.invalidate and router loaders because of it. But needed one small thing from it and was able to reproduce it.
Activity
valerii15298 commentedon Jun 15, 2026
It took me a while to create this minimal repro. The first time I encountered it with using form actions with react, which I later abandoned.
First time I crate this discord question and reproduction attached with form actions: https://discord.com/channels/719702312431386674/1478737651116015730
Related twit: https://x.com/vpetryniak/status/2049533818030145684?s=20
Since then I abandoned using react form actions, startTransition, router.invalidate and router loaders because of it. But needed one small thing from it and was able to reproduce it.
test: pin 24 community-reported issues fixed by the match-loading wor…