Loading article…
Summary: HTML primitives for updating part of a document without a full navigation. The same-document navigation work is split across several proposals. This directory is a playground for the pieces that can be exercised now.
Docs: Declarative partial updates | Chrome for Developers
Repo: WICG/declarative-partial-updates
Out-of-order streaming shipped in Chrome 150. The insertion/streaming methods and declarative fragments need
chrome://flags/#enable-experimental-web-platform-features. Insertion methods are planned for
Chrome 155. Declarative fragments are an Intent to
Prototype.
<template for> with <?start>, <?end>, and
<?marker>
setHTML / appendHTML / beforeHTML and the
stream*HTML counterparts
<template src>, buffer, and sanitize
Explainers without a demo here yet: route matching, preserve, snap to activate.
=== This is a demo of parser patches, streamed <template for> updates, and a declarative
fragment include in one document. ===
ProcessingInstruction<template for> patches an earlier markerstreamAppendHTMLUnsafe patches an existing marker<template for src> includes a fragmentParser patch has not run.
Loading article…