T
TanStack5mo ago
apparent-cyan

Confused by isTransitioning (never true)

Hi folks. I am confused by useRouterState`s isTransitioning. When does it become true? I have my router defaultViewTransition as true, but however i never get a positive isTransitioning on navigation. How is it mean to work? Can someone clarify? Check this: https://stackblitz.com/edit/tanstack-router-quqyosww?file=src%2Froutes%2F__root.tsx
Matheus
StackBlitz
Router View Transitions Example (duplicated) - StackBlitz
Run official live example code for Router View Transitions, created by Tanstack on StackBlitz
2 Replies
apparent-cyan
apparent-cyanOP5mo ago
@Manuel Schiller can you throw some light on this?
sensitive-blue
sensitive-blue5mo ago
I guess that's caused by react opting out of transitions with useSyncExternalStore that router uses under the hood. concurrent stores shall eventually come to react 19 and thus solve this

Did you find this page helpful?