Replies: 2 comments
-
what are "redirected components"? |
Beta Was this translation helpful? Give feedback.
-
@schiller-manuel @schiller-manuel maybe the name is misleading, but I like to migrate from I like to convert this
To __root.tsx
workspaces/index.lazy.tsx
workspaces/$workspacesId.lazy.tsx
I can't figure it a way in The only way I figure it till now is someway of workaround, with conditional inside the
|
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi,
I've asked previously question in Q&A section, which currently is not answered.
I'm trying to migrate some routes from
react-router
, which were done as index routes.Finally I've managed to solve them, but I don't like how the implementation is:
In my case going from route to the redirected route, I need to use
Navigate
andMatchRoute
components to redirect to some other route and also to able to render the component:Snippet:
Is there a way with file routes, to render redirected components, like in
react-router
?Beta Was this translation helpful? Give feedback.
All reactions