Fast JSX runtime
No virtual DOM means no object tree in memory. Rendering a 170 KiB page runs 2-3x faster than React, Preact, and HonoJsx and allocates 40-50% less memory. The output is identical.
JSX that compiles to plain strings, not a virtual DOM.
No diffing and no serialization.
No virtual DOM means no object tree in memory. Rendering a 170 KiB page runs 2-3x faster than React, Preact, and HonoJsx and allocates 40-50% less memory. The output is identical.
kita-html check uses the TypeScript 7.1 type checker to flag unsafe string interpolations in CI and editor problem panels. The checks run at compile time and add no runtime cost.
Async children automatically make their parents async. Suspense streams HTML via chunked transfer encoding, sending a fallback instantly and replacing it when the promise resolves.
Kita Html is at its best when the result you need is HTML, like SSR pages, HTMX-style apps, email templates, static HTML, and HTTP handlers that return strings directly.
JSX type definitions for HTML elements and attributes. HTMX, Alpine.js, and Hotwire Turbo type extensions are included and opt-in via triple-slash directives.
The output is a plain string. Kita Html integrates with Fastify, Express, Hono, Bun, or any server that returns strings.