Islands Architecture support #13343
Replies: 3 comments 2 replies
-
This is what RSC adds (only I don't think islands architecture works with RR, because the router needs to control the whole page, where with islands you send HTML from the server and hydrate individual components, but the router needs to hydrate everything so it can update the UI. With RSC this will be possible as only React, the router and client components will by send to the browser, while React and RR can still control everything. |
Beta Was this translation helpful? Give feedback.
-
Ah yes, I forgot to specify I meant SSR react-router only for Islands Architecture support. Great |
Beta Was this translation helpful? Give feedback.
-
Ok 👍 thanks for your replies. |
Beta Was this translation helpful? Give feedback.
-
Hello, I was wondering if there are any plans to add native support for Islands Architecture to React Router. If you're not familiar, here's a quick overview:
More info here: https://www.sanity.io/glossary/islands-architecture
I'm currently building a React Router 7 app. While the hydration model works well, it would be great to have granular control over which components are hydrated. Native support for Islands-style hydration would open up new optimisation possibilities.
I found this discussion that mentions Islands Architecture, but only in the context of manually building such a system on top of React Router.
Is this something you'd be open to exploring in a future React Router version?
Beta Was this translation helpful? Give feedback.
All reactions