vani-incremental-mount

Installation
SKILL.md

Incremental Mounting

Instructions for embedding Vani components into existing applications via mount points.

When to Use

Use this when adding a Vani widget inside a non-Vani app or server-rendered page.

Steps

  1. Create a Vani component with explicit updates.
  2. Find or create a DOM mount node inside the host app.
  3. Call renderToDOM(Widget(), mountNode) (arrays also work) and store the returned handles.
  4. On host unmount/cleanup, call handle.dispose() for each handle.

Arguments

Installs
8
Repository
itsjavi/vani
First Seen
Jan 22, 2026
vani-incremental-mount — itsjavi/vani