Module / v1.0.0-beta.7

@typed/template/RenderTemplate

2 unique exports available through this public import path, including their members and aliases.

import * as RenderTemplate from "@typed/template/RenderTemplate";

Template authoring

  • html

    function

    The main template tag function.

    It creates a reactive Fx stream that renders the template. The actual rendering logic depends on the provided RenderTemplate service.

Template interpretation

  • RenderTemplate

    class

    A service that defines how templates are rendered.

    Different implementations can be provided for different environments (e.g., DomRenderTemplate for browsers, HtmlRenderTemplate for SSR).