--- title: "Declarative Partial Updates: Out-of-Order HTML Streaming Without a Framework" author: "Danny Holloran" published: "2026-08-22T08:06:36.296Z" updated: "2026-09-02T00:40:00.135Z" url: "https://zyvop.com/declarative-partial-updates-out-of-order-html-streaming-without-a-framework-asyct" canonical: "https://danholloran.me/posts/declarative-partial-updates-out-of-order-html-streaming-without-a-framework" tags: ["frontend","web-apis","JavaScript","performance"] --- # Declarative Partial Updates: Out-of-Order HTML Streaming Without a Framework ![Cover image]() HTML has one stubborn rule that has quietly shaped a decade of frontend architecture: it renders in the order it arrives. If the third section of your page needs a slow database query, everything after it waits. The usual escape hatches are all compromises. You buffer the whole response and give up streaming entirely, you reorder with CSS and break the accessibility tree, or you ship a framework whose main job is turning that server delay into a client-side spinner. Chrome 148 has an experimental answer that skips all three. Under the umbrella name **Declarative Partial Updates**, two related APIs let the server send a placeholder now and fill it in later, and let JavaScript stream markup into an element instead of waiting for the full string. They are behind `chrome://flags/#enable-experimental-web-platform-features` today, with polyfills on npm and positive noises from other vendors. ## Placeholders you fill in later The declarative half revives something HTML has ignored for its entire life: processing instructions. In XML they carry metadata; in HTML they have always been parsed as comments and thrown away. The new API gives them a job. ```html
``` When the parser reaches `