JavaScript virtual-dom

Open-source JavaScript projects categorized as virtual-dom

Top 21 JavaScript virtual-dom Projects

  • Preact

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

  • Project mention: Episode 24/13: Native Signals, Details on Angular/Wiz, Alan Agius on the Angular CLI | dev.to | 2024-04-05

    Similarly to Promises/A+, this effort focuses on aligning the JavaScript ecosystem. If this alignment is successful, then a standard could emerge, based on that experience. Several framework authors are collaborating here on a common model which could back their reactivity core. The current draft is based on design input from the authors/maintainers of Angular, Bubble, Ember, FAST, MobX, Preact, Qwik, RxJS, Solid, Starbeam, Svelte, Vue, Wiz, and more…

  • Mithril.js

    A JavaScript Framework for Building Brilliant Applications

  • Project mention: Ludic: New framework for Python with seamless Htmx support | news.ycombinator.com | 2024-03-21

    The idea of nested function calls to build HTML is not new. Back in the hey-day of JS frameworks, this was a common vdom pattern. I kinda miss [MithrilJS](https://mithril.js.org/#dom-elements)

  • SurveyJS

    Open-Source JSON Form Builder to Create Dynamic Forms Right in Your App. With SurveyJS form UI libraries, you can build and style forms in a fully-integrated drag & drop form builder, render them in your JS app, and store form submission data in any backend, inc. PHP, ASP.NET Core, and Node.js.

    SurveyJS logo
  • htm

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

  • Project mention: VanJS: A 0.9KB JavaScript UI framework | news.ycombinator.com | 2023-12-20

    The preact team also dislikes transpiling jsx so they've developed an alternative using tagged template literals: https://github.com/developit/htm

  • neo

    The application worker driven frontend framework (by neomjs)

  • hyperx

    🏷 - tagged template string virtual dom builder

  • diffhtml

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

  • Project mention: HTML Streaming and DOM Diffing Algorithm | dev.to | 2024-02-21

    diffhtml

  • vhtml

    Render JSX/Hyperscript to HTML strings, without VDOM 🌈

  • InfluxDB

    Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.

    InfluxDB logo
  • mikado

    Mikado is the webs fastest template library for building user interfaces.

  • Project mention: Mikado v0.8 has just published the fastest middleware render engine for Express | news.ycombinator.com | 2023-12-23
  • lowlight

    Virtual syntax highlighting for virtual DOMs and non-HTML things

  • refractor

    Lightweight, robust, elegant virtual syntax highlighting using Prism

  • remark-react

    Legacy plugin to transform to React — please use `remark-rehype` and `rehype-react` instead

  • Project mention: Construindo um Painel de Blog Dinâmico com Next.js | dev.to | 2023-12-01

    github.com/remarkjs/remark-react/tree/4722bdf - Plugin para transformar Markdown em React.

  • torus

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

  • panel

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

  • Project mention: Web Components Will Outlive Your JavaScript Framework | news.ycombinator.com | 2023-10-25

    Webcomponents will outlive React 13, mostly likely. Will they outlive React entirely or its cousins like Solid and Svelte? Perhaps not.

    Webcomponents and React look like they solve the same problem but they do not.

    Webcomponent api is pretty shallow. You get connected/disconnnected/attributeChanged call back but gotta write your own property setter and getters, and that’s mostly it. Shadow dom becomes a pain to work with if something needs to pierce it. Can’t pass nested objects in attributes, gotta encode as string.

    Mixpanel went all in on webcomponents, but had to build a whole bunch of lib tooling around it. They made their own framework on top of webcomponents. https://github.com/mixpanel/panel

    Worked on panel lib and webcomponent UI for many years. It is not a silver bullet.

    The issue with webcomponents is there are a ton of libraries that fill in the missing gaps. There’s not a lot you can do with pure vanilla webcomponent api since browsers don’t provide efficient dom updating mechanism. Google has their own thing, Microsoft had multiple internal libs across orgs, Reddit does their own thing.

    The most standard thing for frontend with wide adoption right now is React.

    So the way I see it, is that React has already outlived webcomponents.

  • preact-worker-demo

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

  • virtual-dom

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

  • CalDOM

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

  • svg-radar-chart

    Generate SVG radar charts.

  • Sekoia

    Sekoia.js - Reactivity Engine

  • Project mention: I made an app for color grading in the browser (without a framework*). | /r/webdev | 2023-05-14

    For the state diffing check out the deepApplyStrict method here: https://github.com/monokee/Sekoia/blob/master/src/modules/state/internal/Core.js

  • kReact

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

  • safir

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

  • Project mention: [AskJS] Any suggestion - VirtualDOM library Safir | /r/javascript | 2023-04-20
  • fiddlehead

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

  • WorkOS

    The modern identity platform for B2B SaaS. The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.

    WorkOS 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). The latest post mention was on 2024-04-05.

JavaScript virtual-dom related posts

Index

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

Project Stars
1 Preact 36,021
2 Mithril.js 13,842
3 htm 8,551
4 neo 2,743
5 hyperx 1,007
6 diffhtml 864
7 vhtml 759
8 mikado 735
9 lowlight 679
10 refractor 666
11 remark-react 524
12 torus 311
13 panel 271
14 preact-worker-demo 225
15 virtual-dom 206
16 CalDOM 186
17 svg-radar-chart 82
18 Sekoia 31
19 kReact 6
20 safir 3
21 fiddlehead 2
The modern identity platform for B2B SaaS
The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.
workos.com