You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I like to swich to tanstack router, but I have problem with the differences how RR7 and Tanstack Router works. I've asked this question on discord, but no answer really help me.
RR6 renders routes cascade, so both layouts are rendered, before the Index route is rendered last. <Navigate to /> doing redirect.
I'ved tried redirecting to /workspaces/$workspaceId from the _root.tsx, and even works, I have problem after, when I'm opening similar route in new tab, which redirecting me back to /workspaces/$workspaceId/.
How I can write tanstack routes, so it can cascade render two layouts and navigate to the last route?
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Hi,
I like to swich to tanstack router, but I have problem with the differences how RR7 and Tanstack Router works. I've asked this question on discord, but no answer really help me.
I like to adapt this RR6 structure:
RR6 renders routes cascade, so both layouts are rendered, before the Index route is rendered last.
<Navigate to />
doingredirect
.I'ved tried redirecting to
/workspaces/$workspaceId
from the_root.tsx
, and even works, I have problem after, when I'm opening similar route in new tab, which redirecting me back to/workspaces/$workspaceId/
.How I can write tanstack routes, so it can cascade render two layouts and navigate to the last route?
Beta Was this translation helpful? Give feedback.
All reactions