Waku Islands? #816
Replies: 2 comments 4 replies
-
Actually... is this just what the vercel build is doing already with splitting the output between a cdn and the node server? |
Beta Was this translation helpful? Give feedback.
-
(I'm not 100% sure if I understand the server islands and what you actually expect, but:) RSC is technically capable of generating static shell/skeleton contents in advance and streaming dynamic contents on demand (with or without SSR), using I am very interested in supporting component-based static/dynamic division, but that would require deeper understanding and more experiments. So, my plan for now is to tackle it after v1 or maybe v1-beta. I may change my mind though.
Maybe you are referring to something else than what I described above. |
Beta Was this translation helpful? Give feedback.
-
Would it be useful to the project for someone to write a guide for how to essentially achieve "astro islands" with waku?
Their explanation is here: https://astro.build/blog/future-of-astro-server-islands/
And docs here: https://docs.astro.build/en/concepts/islands/
My understanding of how they pose optimizing their sites is by taking the static pre-rendered version of their site, put that on a cdn... then embed js in the static build to stream in "what is left" from the server.
Given the current state of waku, where it can compose this behavior and streaming easily with RSC's, my initial guess is that it would at least be a catchy walkthrough for new users who appreciate astro, but want to stay fully in a react project.
If this is something we want to support and give docs for how to do, it might simultaneously be a good experiment for how to deploy a slightly more complex version than what is currently being proposed. This could lead to some good edge-case finding and whatnot.
Beta Was this translation helpful? Give feedback.
All reactions