Replies: 3 comments 4 replies
-
There's no parallel routes in Remix like in Next.js, you will have to make your dashboard route loader fetch the data every component inside needs, or change your UI to only show one part at the time based on the URL then every component inside can be a nested route, but you won't be able to show them all at the same time. |
Beta Was this translation helpful? Give feedback.
-
In my experience from nextjs, parallel routes sound nice, but were overcomplicating things at the end. As some mentioned remix does not have those. But its quite easy to achieve the desired effect by simply creating two routes and some reusable logic to fetch and render used in both. The nextjs way has so many pitfalls and needed "filler" files in order for it to work in all cases. |
Beta Was this translation helpful? Give feedback.
-
@sergiodxa This whole discussion included many comments that seemed to indicate once Remix/RR got RSC support, this problem is sort of solved. So.. is that not the case? Further, what are the advantages of RSC support in RR7? |
Beta Was this translation helpful? Give feedback.
-
Hello everyone i am trying to handle Parallel Routes btw i am using remix-flat-routes, any suggestion how to do it like next js, basically i have a dashboard page that contains some components and i want each component to handle its loader and error boundary
Beta Was this translation helpful? Give feedback.
All reactions