A mostly static page does not need JavaScript for every element. With partial hydration, the server renders the page as HTML, while only selected interactive regions—“islands”—ship JavaScript and hydrate independently in the browser. The remaining markup stays inert. Compared with universal rendering, where the whole page hydrates, this reduces the JavaScript sent to the client. section 2.1.4
A custom element can give each island a self-contained boundary and control when it becomes interactive. Qwik’s resumability is related but distinct: it resumes serialized state and event handlers when interaction requires them rather than hydrating upfront. Choose island boundaries around the interactions a page needs, not around its entire layout. section 2.1.4

