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.
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.
