TanStackT
TanStack13mo ago
1 reply
progressive-amaranth

Im using tanstack router right?

Hi, my first time using tanstack router, i already worked with react router, but right i use next js, but i have an project that i need to use react, so i decided to give a try on tanstack router, and i liked the way it works, but im structuring my code in the right way? should that be done like that? on __root.tsx should i hard code my app header, and styles? can or i should condicional rendering routes links if user are logged in or not? Thank you
Captura_de_ecra_2025-01-13_as_14.49.26.png
image.png
Was this page helpful?