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
Hello, thank you for the amazing library.
While researching the migration from React Router, I noticed that the pathname property of ParsedLocation changes before the navigation is complete.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Hello, thank you for the amazing library.
While researching the migration from React Router, I noticed that the pathname property of ParsedLocation changes before the navigation is complete.
Stackblitz: https://stackblitz.com/edit/vitejs-vite-coxzpn?file=src%2Froutes%2Findex.lazy.tsx
When transitioning from the Home tab to the About tab, the pathname changes before the transition is complete, causing a re-render of the Index component that subscribes to the pathname.
Is this behavior intentional?
Beta Was this translation helpful? Give feedback.
All reactions