Rendering and delivery
Components, Shadow DOM, islands, and server rendering.
- IslandsOpt-in per-subtree hydration. Mark a region of your page with island(view) and Purity will render the rest of the document as static HTML with zero client JavaScript. Onl
- Server renderingUse the CLI's --ssr option to create a Purity app that renders HTML on a Node server and hydrates it in the browser. The generated project includes a server entry, a clie
- Shadow DOMMost modern frameworks ship light-DOM components and treat Shadow DOM as opt-in (Lit being the obvious exception). Purity flips that — component() always attaches a shado