Kudzu framework compiles TSX to static HTML without shipping React to the browser
A developer built Kudzu, an experimental HTML-first framework that lets developers write React-shaped TSX but compiles it entirely at build time, producing plain HTML without sending React, a virtual DOM, or hydration code to the browser. The framework was motivated by the author's preference for reviewing AI-generated TSX code while still building static websites that don't need a full client-side component runtime. Fully static pages receive no JavaScript at all, while interactive pages receive only minimal, behavior-specific scripts targeting the exact DOM nodes that need updating. Kudzu supports a React-like useState API, but state logic is resolved during compilation and translated into lightweight DOM patch instructions rather than component rerenders. The project is open source and available on GitHub under the handle kudzujs/kudzu.
This is an AI-generated summary. ShortSingh links to the original source for the complete article.
Discussion (0)
Log in to join the discussion and vote.
Log in