JavaScript virtual-dom

Open-source JavaScript projects categorized as virtual-dom

Top 21 JavaScript virtual-dom Projects

virtual-dom
  1. Preact

    ⚛️ Fast 3kB React alternative with the same modern API. Components & Virtual DOM.

    Project mention: Designing for KaiOS - Leveraging Kiro to build an app for the next billion mobile users | dev.to | 2025-12-03

    Tree-shaking unused Preact features

  2. SurveyJS

    SurveyJS: Build JSON-Driven Surveys and Forms with Full Data Control. Add the SurveyJS UI components to your JS app (React/Angular/Vue3). Securely collect and analyze data without sending it to 3rd-party servers. Fully customizable, works with any backend, and ideal for data-heavy apps. Learn more.

    SurveyJS logo
  3. Mithril.js

    A JavaScript Framework for Building Brilliant Applications

    Project mention: I Switched from Flutter and Rust to Rust and Egui | news.ycombinator.com | 2025-06-27

    I really like Mithril.js (https://mithril.js.org/), which is, IMO, as close as it gets to web IMGUI. It looks a lot like React, but rendering happens manually, either on each event or with a manual m.redraw() call.

  4. htm

    Hyperscript Tagged Markup: JSX alternative using standard tagged templates, with compiler support.

    Project mention: Comptime.ts: compile-time expressions for TypeScript | news.ycombinator.com | 2025-08-06

    ```

    Where the `template!` macro instructs the engine how to translate the tokens into their JavaScript syntax and the `#[reactive]` macro converts the class member into a getter/setter that triggers a re-render calculation.

    It would need to be adopted by TC39 of course and the expectation would be that, if provided at runtime, a JavaScript engine could handle the preprocessing however transpilers should be able to pre-compute the outputs so they don't need to be evaluated at runtime.

    We sort of get around this today using template literals and eval, but it's janky. https://github.com/developit/htm

  5. neo

    Neo.mjs: The first Agent Operating System for the web. A standalone, type-safe AI SDK combined with a multi-threaded, zero-build platform for building autonomous agents and desktop-class web apps. (by neomjs)

  6. hyperx

    🏷 - tagged template string virtual dom builder

  7. lowlight

    Virtual syntax highlighting for virtual DOMs and non-HTML things

  8. diffhtml

    diffHTML is a web framework that helps you build applications and other interactive content

    Project mention: Show HN: I made a better DOM morphing algorithm | news.ycombinator.com | 2025-11-15
  9. InfluxDB

    InfluxDB – Built for High-Performance Time Series Workloads. InfluxDB 3 OSS is now GA. Transform, enrich, and act on time series data directly in the database. Automate critical tasks and eliminate the need to move data externally. Download now.

    InfluxDB logo
  10. mikado

    The fastest template library/engine for building web-based user interfaces and apps.

  11. refractor

    Lightweight, robust, elegant virtual syntax highlighting using Prism

  12. vhtml

    Render JSX/Hyperscript to HTML strings, without VDOM 🌈

  13. torus

    Torus is an event-driven model-view UI framework for the web, focused on being tiny, efficient, and free of dependencies. (by thesephist)

  14. panel

    Web Components + Virtual DOM: web standards for powerful UIs (by mixpanel)

  15. preact-worker-demo

    Demo of preact rendering an entire app in a Web Worker.

  16. virtual-dom

    The foundation of HTML and SVG in Elm. (by elm)

  17. CalDOM

    An agnostic, reactive & minimalist (3kb) JavaScript UI library with direct access to native DOM.

  18. svg-radar-chart

    Generate SVG radar charts.

  19. Sekoia

    Sekoia.js - Reactivity Engine

  20. tint

    A natural template engine for the HTML DOM (by marcodpt)

  21. kReact

    Let's learn React by building react within 100 lines of code

  22. safir

    Lightweight JavaScript framework based on Template Literals vs CustomEvents features. Virtual DOM basic structure.

  23. fiddlehead

    A lightweight library to build user interfaces with JSX and hooks.

  24. Stream

    Stream - Scalable APIs for Chat, Feeds, Moderation, & Video. Stream helps developers build engaging apps that scale to millions with performant and flexible Chat, Feeds, Moderation, and Video APIs and SDKs powered by a global edge network and enterprise-grade infrastructure.

    Stream logo
NOTE: The open source projects on this list are ordered by number of github stars. The number of mentions indicates repo mentiontions in the last 12 Months or since we started tracking (Dec 2020).

JavaScript virtual-dom discussion

JavaScript virtual-dom related posts

  • Show HN: I made a better DOM morphing algorithm

    5 projects | news.ycombinator.com | 15 Nov 2025
  • Shopify App: October 2025 Updates

    1 project | dev.to | 6 Oct 2025
  • Spin up Bun + Preact full-stack app in minutes 🚀

    1 project | dev.to | 14 Sep 2025
  • Comptime.ts: compile-time expressions for TypeScript

    4 projects | news.ycombinator.com | 6 Aug 2025
  • Mithril.js: small (8.96 KB gzipped) modern client-side JavaScript framework

    1 project | news.ycombinator.com | 1 Apr 2025
  • sizereport.config.js in Preact source code.s

    2 projects | dev.to | 6 Mar 2025
  • Preact

    1 project | news.ycombinator.com | 6 Jan 2025
  • A note from our sponsor - Stream
    getstream.io | 23 Dec 2025
    Stream helps developers build engaging apps that scale to millions with performant and flexible Chat, Feeds, Moderation, and Video APIs and SDKs powered by a global edge network and enterprise-grade infrastructure. Learn more →

Index

What are some of the best open-source virtual-dom projects in JavaScript? This list will help you:

# Project Stars
1 Preact 38,222
2 Mithril.js 14,616
3 htm 8,954
4 neo 3,107
5 hyperx 1,015
6 lowlight 893
7 diffhtml 871
8 mikado 838
9 refractor 829
10 vhtml 808
11 torus 340
12 panel 276
13 preact-worker-demo 229
14 virtual-dom 213
15 CalDOM 190
16 svg-radar-chart 90
17 Sekoia 34
18 tint 9
19 kReact 6
20 safir 4
21 fiddlehead 2

Sponsored
SurveyJS: Build JSON-Driven Surveys and Forms with Full Data Control
Add the SurveyJS UI components to your JS app (React/Angular/Vue3). Securely collect and analyze data without sending it to 3rd-party servers. Fully customizable, works with any backend, and ideal for data-heavy apps. Learn more.
surveyjs.io

Did you know that JavaScript is
the 4th most popular programming language
based on number of references?