variable / @typed/template/many

MANY_HOLE

Produces the legacy closing marker for an already encoded keyed-list hole.

Package version
1.0.0-beta.7
Category
Keyed hydration markers
Since
1.0.0

Import

import { MANY_HOLE } from "@typed/template/many";

Signatures

export declare const MANY_HOLE: (key: PropertyKey) => string;

Why

The helper remains published for renderer and hydration compatibility. New SSR output uses the versioned, escaped marker encoding implemented by many; application code should not parse or synthesize hydration markers itself.

Ownership and lifetime

This pure formatter owns no DOM node, list item, or Scope.

Examples

import { MANY_HOLE } from "@typed/template/many"

const marker = MANY_HOLE("item-1")

Other public imports

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

Source