Hacker GitHub

← All repos

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

Mentions per year 30 mentions · busiest year 2015 (14)
20082026
  1. …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
  2. …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…
  3. 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
  4. …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
  5. …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
  6. …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…
  7. …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
  8. 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
  9. 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
  10. …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
  11. …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)
  12. …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
  13. …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…
  14. That isn't true though: https://github.com/Matt-Esch/virtual-dom
    comment by Akkuma · 2015-06-02 · in Is ReactJS really fast?
  15. …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
  16. …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
  17. https://github.com/Matt-Esch/virtual-dom/
  18. 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:…
  19. 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…
  20. …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
  21. …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
  22. …community thought of the criticism here and if anyone has experience with the alternative promoted https://github.com/Matt-Esch/virtual-dom
  23. …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
  24. …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
  25. 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…
  26. What, you mean like virtual-dom[1]? [1] https://github.com/Matt-Esch/virtual-dom
  27. 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…
  28. …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…