Refresh Route on Auth Change
Hello, I am moving from next js to Tanstack router and it has been a pleasure to work with, I am wondering if someone could help me with this example though, for some reason when I am trying to login I have to do the action twice, i thought because of the way the context work it would update everywhere, https://stackblitz.com/edit/tanstack-router-gqbxfs?file=src%2Froutes%2F_auth%2Fsignin.tsx you can see in the example here, when i try to log in, i have to do it twice and then only the second time it redirects me to authenticated route and viceversa am i missing something ?
StackBlitzEnyel Sequeira
Run official live example code for Router Authenticated Routes, created by Tanstack on StackBlitz