JavaScript Is Enough
a day ago
- #Compile-time
- #UI Framework
- #JavaScript
- A compile-time UI framework that transforms classes and functions into efficient DOM updates without virtual DOM, hooks, or signals.
- Offers the fastest compiled UI framework performance, surpassing Solid, Svelte, Vue, and React.
- Uses familiar JavaScript constructs: stores as classes, components as classes or functions, and computed values as getters.
- No need to learn new primitives; the API is based on standard JavaScript classes and functions.
- The Vite plugin analyzes JSX at build time to wire up direct DOM updates, eliminating diffing and reconciliation overhead.
- State management is handled via ordinary classes wrapped in a deep Proxy, supporting direct mutations including array methods and nested objects.
- Built-in features include client-side routing, 35+ accessible UI components, mobile primitives, and a VS Code extension.
- Stores encapsulate state and methods, while components return JSX, with reactivity handled by the compiler.
- Benchmarked as faster than Solid and Svelte in the js-framework-benchmark.
- Includes a built-in router, efficient event handling, and granular updates for array operations.
- Supports derived state via standard get accessors, with automatic dependency detection.
- Comes with AI assistance tools for scaffolding and iterating on apps.
- One-command project scaffolding with Vite, TypeScript, and pre-configured plugins.
- MIT licensed and open source.