# API Reference The entire public API — nine functions (five you'll use constantly, plus `effect`, `boundary`, `configure`, and `onCleanup`). ```js import { html, mount, createState, computed, each, effect, boundary, configure, onCleanup } from "./src/index.js"; ``` --- ## `html` ``` html(strings, ...values) → TemplateResult ``` A tagged template. Write real HTML; interpolate values with `${}`. - `${() => x}` — a **live** binding (text or attribute) that updates when `x`'s sources change. - `${value}` — a **static** value, inserted once. - `onevent=${fn}` — an event listener. - Returns an opaque `TemplateResult` — pass it to `mount`, return it from a component, place it in another template, or use it in `each`'s render function. **Unsupported (throws a clear error):** dynamic tag names (`<${tag}>`), dynamic/spread attribute names (``), interpolation inside `