Skip to content

HTML Streaming Setters #1471

Description

@nairnandu

Description

This proposal aims to improve the interoperability of the built-in primitives for streaming:

HTML Enhanced Setter and Streaming Methods: Exposes a coherent set of HTML-setting methods to replace disjointed legacy APIs. The Setter methods are covered in #1416. This proposal includes streaming setter methods (streamHTML(), streamReplaceWithHTML(), streamBeforeHTML(), streamPrependHTML(), streamAppendHTML() and streamAfterHTML() DOM methods, and unsafe equivalents) alongside their *Unsafe variants.

Combined with <template for="…"> HTML element, these features give developers built-in, secure, and ergonomic mechanisms to dynamically update and stream DOM content.

Specification

whatwg/html#12758 (this PR should be merged in time for Interop)

web-feature

web-features: html-streaming-setters

Test Links

Additional Signals

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions