Login, logout, and OAuth callbacks use window.location.href (full page reload) due to a race condition between auth state updates and TanStack Router's beforeLoad context. Investigate:
router.invalidate() after auth state changes
- Ref-based context passing
- Waiting for re-render before navigating
Goal: smooth client-side transitions instead of full reloads.
Login, logout, and OAuth callbacks use
window.location.href(full page reload) due to a race condition between auth state updates and TanStack Router'sbeforeLoadcontext. Investigate:router.invalidate()after auth state changesGoal: smooth client-side transitions instead of full reloads.