Server islands to speed up web site
Another interesting framework called server islands to improve web rendering speed
Basic idea is to send the html part first which does not require any dynamic logic then send the part which requires dynamic logic such as Suspense
in below example.
1
2
3
4
5
6
7
8
<main>
<h1>Hello</h1>
<Suspense callback = "loading...">
<SlowComponent />
</Suspense>
</main>