Unable to navigate within a useEffect
I'm in a useEffect and calling navigate() , but nothing happens. I've tried calling navigate() via useNavigate() and redirect().
The strange thing is that when I save a file to kick HMR, then the navigation kicks in.
I am navigating from '/xx/onboarding' to '/x', one level back, in case that has something to do with it.
I am using Tanstack Start and Vite, e.g. already done the devinxi migration. Not sure if this was happening pre-devinxi or not.
My versions:
"@tanstack/react-router": "^1.121.27",
"@tanstack/react-router-devtools": "^1.121.27",
"@tanstack/react-start": "^1.121.32",
The strange thing is that when I save a file to kick HMR, then the navigation kicks in.
I am navigating from '/xx/onboarding' to '/x', one level back, in case that has something to do with it.
I am using Tanstack Start and Vite, e.g. already done the devinxi migration. Not sure if this was happening pre-devinxi or not.
My versions:
"@tanstack/react-router": "^1.121.27",
"@tanstack/react-router-devtools": "^1.121.27",
"@tanstack/react-start": "^1.121.32",
