Voodoo.js: Bringing TSX and Reactivity Directly Into Plain HTML
说明与用途
Voodoo.js 允许开发者直接在普通 HTML 中使用 JSX/TSX 语法编写响应式界面,无需打包或编译,简化原型和小型项目的开发。
问题
Developers often need complex build tools to use modern frontend features like JSX/TSX and reactivity, adding overhead and configuration.
结果
Voodoo.js eliminates the need for bundlers and compilers, allowing developers to write modern reactive interfaces directly in plain HTML files, speeding up prototyping and simplifying small projects.
工作流
- Add a
<script src="https://cdn.jsdelivr.net/npm/voodoo.js"></script>tag to the HTML head or body. - Define reactive data objects using Voodoo.js syntax.
- Write JSX/TSX‑style expressions directly inside the HTML markup.
- Use Voodoo.js components, events, and utilities as needed.
- Open the page in a browser to see live reactivity; no bundling or compilation required.
- Optional: use the online playground to experiment and preview changes instantly.
证据
Voodoo.js is an HTML first JavaScript framework designed for developers who want modern frontend capabilities without introducing a complex toolchain.
No bundler. No compiler. No configuration. No project scaffolding.
- 记录日期: 2026-09-09T17:02:30.038Z