I'll start with a bare model and then I'll add feature after feature trying to explain the design decisions, pointing when possible to the corresponding implementations in React, Mitrhil and Mercury.
What follows is my own interpretation of React, feel free to criticize and contribute.
As I hoped, being the VDOM implementations so similar, it's straightforward to translate one view system into another. This fact opens a new world of possibilities: this is a demo where a UVDOM-view system is converted into React, Mithril and mercury with two different styles applied (Bootstrap and Pure), check it out.
Your new post is loading...
https://gcanti.github.io/2014/11/24/understanding-react-and-reimplementing-it-from-scratch-part-2.html