@tanstack.com Router question guys:
https://tanstack.com/router/latest/docs/framework/react/examples/authenticated-routes -> auth.tsx file
Any idea why we do have this 250/500ms sleep in login/logout?
Is it to avoid race conditions?
To mock async call in demo?
https://tanstack.com/router/latest/docs/framework/react/examples/authenticated-routes -> auth.tsx file
Any idea why we do have this 250/500ms sleep in login/logout?
Is it to avoid race conditions?
To mock async call in demo?
Comments