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. Learn more →
Top 21 JavaScript virtual-dom Projects
-
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.
-
htm
Hyperscript Tagged Markup: JSX alternative using standard tagged templates, with compiler support.
-
diffhtml
diffHTML is a web framework that helps you build applications and other interactive content
-
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.
-
remark-react
Legacy plugin to transform to React — please use `remark-rehype` and `rehype-react` instead
-
torus
Torus is an event-driven model-view UI framework for the web, focused on being tiny, efficient, and free of dependencies. (by thesephist)
-
CalDOM
An agnostic, reactive & minimalist (3kb) JavaScript UI library with direct access to native DOM.
-
safir
Lightweight JavaScript framework based on Template Literals vs CustomEvents features. Virtual DOM basic structure.
-
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.
Project mention: Episode 24/13: Native Signals, Details on Angular/Wiz, Alan Agius on the Angular CLI | dev.to | 2024-04-05Similarly 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…
Project mention: Ludic: New framework for Python with seamless Htmx support | news.ycombinator.com | 2024-03-21The 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)
The preact team also dislikes transpiling jsx so they've developed an alternative using tagged template literals: https://github.com/developit/htm
diffhtml
Project mention: Mikado v0.8 has just published the fastest middleware render engine for Express | news.ycombinator.com | 2023-12-23
github.com/remarkjs/remark-react/tree/4722bdf - Plugin para transformar Markdown em React.
Project mention: Web Components Will Outlive Your JavaScript Framework | news.ycombinator.com | 2023-10-25Webcomponents 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.
Project mention: I made an app for color grading in the browser (without a framework*). | /r/webdev | 2023-05-14For the state diffing check out the deepApplyStrict method here: https://github.com/monokee/Sekoia/blob/master/src/modules/state/internal/Core.js
JavaScript virtual-dom related posts
- HTML Streaming and DOM Diffing Algorithm
- Preact: Lightweight React Alternative
- VanJS: A 0.9KB JavaScript UI framework
- Have You Built with Preact?
- React SSR web-server from scratch
- Mithril – Light-weight SPA without SSR
- Gaseous - Yet Another Games Manager
-
A note from our sponsor - InfluxDB
www.influxdata.com | 19 Apr 2024
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 |