This entry supports compiler output. Application authors should use the compiler instead of calling its construction helpers directly. It is separate from core’s ordinary entry and does not enable routing.
Read the usage guide or all entry points.
1 exports · published 3.2.0-rc.2 declarations
Internal integration exports
__createCompiledTemplate#
declare function __createCompiledTemplate(markup: () => TrustedHtml, bindings: readonly CompiledBinding[]): (initialize: Initialize) => HTMLElement;Compiler-only HTML construction. The compiler supplies escaped, closed markup and descriptors for every dynamic slot. The staged initializer preserves expression evaluation interleaved with initial binding effects. Its undefined-binder branch constructs the original JSX exactly once. No DOM or Trusted Types policy is touched until the first CSR invocation.
Related declarations: CompiledBinding, Initialize, TrustedHtml
Referenced declaration types
These types appear in the published signatures but are not separate named exports from this entry point. They are shown to explain the contract, not as additional import paths.
CompiledBinding#
type CompiledBinding = readonly [
path: readonly number[],
kind: 0 | 1 | 2,
key?: string
];Initialize#
type Initialize = (bind?: (index: number, value: unknown) => void) => HTMLElement | void;Other entry points
@getforma/core · @getforma/core/runtime · @getforma/core/runtime-hardened · @getforma/core/runtime-csp · @getforma/core/tc39 · @getforma/core/http · @getforma/core/storage · @getforma/core/navigation · JSX namespace