Maksym Skuibida

Results 40 comments of Maksym Skuibida

**UPDATE**. It happens if I redirect from /$lang to /$lang/login. If I redirect from / to /$lang/login it does not happen. Also attached error, that appears in console https://github.com/TanStack/router/assets/57814533/5566f3c8-1558-4ed2-9889-7413dfbda9a4

@mintaka2479 By any change, do you have any workaround for this issue? Because it brokes login/logout on my website. Now after login and logout I have this issue and user...

Sometimes it also happens with loaderData

I am on the latest version and contextI can reproduce in one place every time, but one time in console I see error with both content and loader data on...

@SeanCassiere I have just tested on latest version and I am still facing this problem too

I don't have gcTime: 0. I have logout button. When user press on it, I remove auth token and make router.invalidate(), which causes throw redirect to login page in beforeLoad...

I have just tested one more time. Issue happening only if I do throw redirect(). In logic logic I have two options. 1) Url to redirect is specified in query...

@SeanCassiere By any change, do you know when will this be fixed approximately? It really makes a lot of problems in my app and, unfortunately, I cannot rollback to previous...

> In the meantime here is _a_ workaround > > ``` > export const Route = createFileRoute('/a-route/')({ > component: () => { > const navigate = useNavigate(); > > setTimeout(()...

I tested replacing throw redirect({}) with router.navigate() and now issue does not appear. So, issue appear only with throw redirect(). I event don't need setTimeout, it works without it( I...