3 ms·
Hi HN, I'm the creator of Velox. I built this because I wanted the fine-grained reactivity of Solid/Svelte but with a mental model closer to what I was used to
by TheRemyyy 9mo ago
Hi HN, I'm the creator of Velox.
I built this because I wanted the fine-grained reactivity of Solid/Svelte but with a mental model closer to what I was used to in React hooks.
The core idea is ditching the Virtual DOM entirely. The compiler (built as a Vite plugin) transforms the JSX directly into DOM instructions.
- Runtime is < 3kb.
- Updates are O(1) (targeted node updates).
- 800+ downloads on npm in the first 12h (unexpectedly!).
Currently working on stabilizing the ecosystem (router, CLI).
The compiler logic is in `packages/vite-plugin-velox` if you want to roast my code.
Happy to answer any questions about the implementation!