invalidate() does not trigger useEffect in login.tsx in Kitchen Sink React Query File Based example
I tried to implement something similar locally and I am having the same issue.
https://tanstack.com/router/v1/docs/examples/react/kitchen-sink-react-query-file-based
How to reproduce:
Click on Profile, get redirected to Login, submit form and then it doesn't redirect back to Profile until a rerender is triggered by inputting something.
This is an issue in the examples as well, both on StackBlitz and CodeSandbox.
https://tanstack.com/router/v1/docs/examples/react/kitchen-sink-react-query-file-based
How to reproduce:
Click on Profile, get redirected to Login, submit form and then it doesn't redirect back to Profile until a rerender is triggered by inputting something.
This is an issue in the examples as well, both on StackBlitz and CodeSandbox.
An example showing how to implement Kitchen Sink React Query File Based in React Router