Matt-Esch/virtual-dom
View on GitHub ↗ ★ 11,824 JavaScript
A Virtual DOM and diffing algorithm
30 mentions on Hacker News by 23 people: 2 stories, 28 comments · first 2014-05-14 · latest 2025-09-03
20082026
-
…and, critically, with whom... fuck all that though, the objectively bestest solution is always https://github.com/Matt-Esch/virtual-dom /s That repo is a milestone of where history took its next wrong turn. I remember it making some waves…
comment by balamatom · 2025-09-03 · in Next.js is infuriating -
…recommend using highly simple build tooling (maybe Brunch) and an extremely simple view layer like https://github.com/Matt-Esch/virtual-dom . Pretty much everything else you can build yourself with surprisingly few lines of code -- state…
comment by l_t · 2018-04-10 · in Ask HN: Resources for catching up on modern JavaScript for Python/C++ Programmer -
Better DOM APIs, surely. It could be anything from JSX to https://github.com/Matt-Esch/virtual-dom/tree/master/virtual... . When all you can pass to an attribute is a string, it's very hard to seriously talk about useful extensible custom…
comment by dmitriid · 2017-03-15 · in The broken promise of Web Components -
…It is indeed very similar to Matt Esch's original [1]. The Elm port reads nicely in one file. [1] https://github.com/Matt-Esch/virtual-dom
comment by shoover · 2016-08-30 · in Blazing Fast HTML: Elm vs. React vs. Angular vs. Ember -
…There is virtual-hyperscript which ports the above to virtual-dom: https://github.com/Matt-Esch/virtual-dom/tree/master/virtual... I made a similar-ish "library" about an year ago: https://gist.github.com/awalGarg/8a0e18c6fe8
comment by awalGarg · 2016-08-29 · in RE:DOM – Tiny DOM library -
…perhaps not as custom as I made it sound. The code we have is a wrapper around the [virtual-dom]( https://github.com/Matt-Esch/virtual-dom ) library which does most of the low level work. The "widget" framework is a series of simple ES6…
comment by EvilTrout · 2016-02-26 · in We finally did something about [Ember on] Android Performance -
…to start learning first with a decent foundation of just "what is a virtual dom?" This was useful: https://github.com/Matt-Esch/virtual-dom
comment by tyingq · 2016-02-14 · in Learn Raw React – No JSX, No Flux, No ES6, No Webpack -
If you want just the vdom model, look at https://github.com/Matt-Esch/virtual-dom I remember at one point mithril's vdom implementation was based on virtual-dom but I can't seem to find any documentation to back this up.
comment by shuzchen · 2016-01-05 · in Angular 2 versus React -
Aurelia at work and for personal projects I use virtual-dom ( https://github.com/Matt-Esch/virtual-dom ). There are plenty of (IMO) better view libraries out there that can be nicely paired with Redux, so naturally it's upsetting to see…
comment by marknutter · 2015-11-25 · in A Simple Way to Route with Redux -
…to strong technical arguments. :) [1] https://www.pandastrike.com/posts/20150311-react-bad-idea [2] https://github.com/Matt-Esch/virtual-dom [3] https://www.nativescript.org/ "
comment by kevindeasis · 2015-11-22 · in React vs. Angular 2 -
…to strong technical arguments. :) [1] https://www.pandastrike.com/posts/20150311-react-bad-idea [2] https://github.com/Matt-Esch/virtual-dom [3] https://www.nativescript.org/
comment by SomeCallMeTim · 2015-11-22 · in What is a coder's worst nightmare? (2014) -
…of truth" philosophy[2] so there isn't really a sense of component-local state or lifecycle. [0] https://github.com/Matt-Esch/virtual-dom [1] https://gist.github.com/evancz/2b2ba366cae1887fe621#nesting [2] like Om except more so
comment by masklinn · 2015-07-26 · in Optimistic UI and Reactive Programming with Elm -
…esch's virtual-dom has very similar syntax as this for anyone looking for the same with JavaScript: https://github.com/Matt-Esch/virtual-dom Makes server-side and client side rendering a cinch. Here is an example of it in action in…
comment by malandrew · 2015-06-10 · in Hiccup – A subset of Clojure used for generating HTML -
That isn't true though: https://github.com/Matt-Esch/virtual-dom
comment by Akkuma · 2015-06-02 · in Is ReactJS really fast? -
…more than just re-rendering. You can of course have a virtual DOM (via a lib like Mithril or https://github.com/Matt-Esch/virtual-dom etc.) but it would be nice to handle other kinds of events besides just "re-rendering".
comment by zkhalique · 2015-05-25 · in What Comes After MVC -
…Profilers : Chrome and Edge Profilers. Collaboration Tools : Not sure what you mean by this. [1] : https://github.com/Matt-Esch/virtual-dom [2] : https://github.com/sebinsua/jstruct
comment by ganarajpr · 2015-05-22 · in Ask HN: What is the state of the art set of tools for front end Web developers? -
https://github.com/Matt-Esch/virtual-dom/
comment by fiatjaf · 2015-05-12 · in Deku: How we built our functional alternative to React -
virtual-dom is all you need: https://github.com/Matt-Esch/virtual-dom There is a reason why both elm and mercury uses virtual-dom under the hood to generate and manipulate the DOM. Plus you can render server-side:…
comment by malandrew · 2015-04-23 · in Sprint – A high-performance, DOM library for modern browsers -
Size of code could be a good reason: This appears to be just 43kb: https://github.com/Matt-Esch/virtual-dom/blob/master/dist/vi... Whereas Facebook react 0.13.1 (without addons) weighs in at 599kb, or 121kb minified. Note that I know…
comment by steveridout · 2015-04-02 · in Virtual-dom – A Virtual DOM and diffing algorithm -
…or virtual-gl). Would be really nice if this stuff can be used by other libraries easily. [0] https://github.com/Matt-Esch/virtual-dom [1] http://elm-lang.org/ [2] https://github.com/Raynos/mercury
comment by malandrew · 2015-01-28 · in Use ReactJS to Build Native Apps -
…checking out: https://github.com/evancz/elm-html Both mercury and elm-html rely on virtual-dom: https://github.com/Matt-Esch/virtual-dom Anyways, small modular libraries FTW!
comment by malandrew · 2015-01-06 · in Smalltalk MVC Translated to JavaScript -
…community thought of the criticism here and if anyone has experience with the alternative promoted https://github.com/Matt-Esch/virtual-dom
comment by jackhoy · 2014-12-31 · in Don't React (Presentation - Use arrows to navigate) -
…without using React and its component, several VDOM-only pure=js libraries have sprouted up e.g. https://github.com/Matt-Esch/virtual-dom (the basis for elm-html, and the Mercury react-like framework)
comment by masklinn · 2014-12-24 · in No more JavaScript frameworks -
…should instead be using a virtual DOM implementation like virtual-dom, famo.us, react or mithril. https://github.com/Matt-Esch/virtual-dom
comment by malandrew · 2014-12-17 · in You Don't Need JQuery -
Why use templating at all? Just use virtual DOM: https://github.com/Matt-Esch/virtual-dom Server-side rendering example: https://github.com/Raynos/mercury/blob/master/examples/serve... It feels more tedious at first if you try using…
comment by malandrew · 2014-11-13 · in A comparison of JavaScript templating engines: Jade, Mustache, Dust and more -
What, you mean like virtual-dom[1]? [1] https://github.com/Matt-Esch/virtual-dom
comment by lomnakkus · 2014-10-13 · in Nunjucks – A rich and powerful templating language for JavaScript by Mozilla -
I opened this PR on virtual-dom ( https://github.com/Matt-Esch/virtual-dom/pull/67 ) to get a single file version into the git repo. It has many folders because the `vtree`, `vdom` and `h` are fundamentally seperate concepts. Again each…
comment by Raynos · 2014-05-14 · in Removing User Interface Complexity, or Why React is Awesome -
…source code is very hard to read our follow. An ideal "barebones" virtual dom library looks like https://github.com/Matt-Esch/virtual-dom . The `virtual-dom` module was build out of frustration with the readability of react source code and…
comment by Raynos · 2014-05-14 · in Removing User Interface Complexity, or Why React is Awesome