TanStackT
TanStack2y ago
3 replies
slow-yellow

Authenticated Routes

Hi everyone,
I'm new to Tanstack Router and I'm encountering some difficulties.

How can I centralize this type of validation across multiple routes? For instance, in the provided example where I have 'profile' routes, I also want to apply the same validation to 'registrations' routes to check if the user is logged in.
image.png
Was this page helpful?