@continuum-js/vite-plugin
v0.3.0
Published
Optional JSX compiler for Continuum — compiles ordinary JSX into cloned templates (Solid-class create performance). Without it the same JSX runs through the runtime factory unchanged.
Readme
@continuum-js/vite-plugin
Optional compiler for Continuum: compiles JSX into cloned templates (one cloneNode(true) per call site instead of per-element createElement calls). Same semantics as the runtime JSX factory — validated by running the full dom test suite through it.
// vite.config.ts
import continuum from "@continuum-js/vite-plugin";
export default { plugins: [continuum()] };Projects scaffolded with npm create continuum-js@latest have it enabled by default. Spread props and SVG fall back to the runtime factory automatically.
Docs: https://denislibs.github.io/continuum/guides/compiler
