Declarative partial updates

Chrome for developers logo, title “Declarative Partial Updates”, photos of two authors, and a code snippet with marker name=placeholder and a matching template for=placeholder.

Barry Pollard and Noam Rosenthal introduce two new web platform proposals for inserting HTML out of order. Processing instructions like <?marker> and <?start>/<?end> paired with <template> let servers stream HTML into specific document locations without waiting for sequential delivery. New JavaScript methods setHTML(), appendHTML(), and streamHTML() bring consistent naming for partial updates. Polyfills are on npm.

developer.chrome.com/blog/declarative-partial-updates