variable / @typed/template/RenderEvent

HtmlRenderTransportBrand

The published advanced brand identifying renderer-owned HTML transport.

Package version
1.0.0-beta.7
Category
HTML transport trust
Since
1.0.0
Stability
internal-but-published

Import

import { HtmlRenderTransportBrand } from "@typed/template/RenderEvent";

Signatures

export declare const HtmlRenderTransportBrand: unique symbol;

Why

The separate brand prevents arbitrary toString objects from crossing the trusted SSR boundary as raw markup.

Ownership and lifetime

The symbol is global metadata; it does not validate, sanitize, or retain HTML.

Examples

import { HtmlRenderEvent, HtmlRenderTransportBrand } from "@typed/template/RenderEvent"

const event = HtmlRenderEvent("<p>trusted renderer output</p>", true)
event[HtmlRenderTransportBrand] // true

Other public imports

These import paths expose the same declaration. Each page retains its own public name and signature.

Source