saskurambo
|
9 years ago
|
on: React is mostly hype
Angular 2way is based on dirty check. Ractive and vue.js are really data binding with atomic changes.
saskurambo
|
9 years ago
|
on: React is mostly hype
Two way data bind is fast because a graph of binds and dependency is created. So you can have atomic updates while in virtual dom you must rerun all the tree.
See vue.js and ractive
But is also true that 2way double binding take more memory that virtual dom.
saskurambo
|
9 years ago
|
on: React is mostly hype
Mithril for what i know is under a rewrite and with this rewrite should be really fast
saskurambo
|
9 years ago
|
on: React is mostly hype
React is good for complex app desktop but not if you need performant and fast interface with 60 fps otherall in mobile.
Last virtual dom like snabbdom preact and inferno are really fast also on mobile.
And inferno and preact are compatible with react component.
Vue.js 2.0 use an intelligent mixin of reactive data graph dependency and virtual dom separating the static and dynamics parts of template.
Monkberry.js translate a template in pure javascript function with createElements and update nodes. Function that can be optimized from the jit
saskurambo
|
9 years ago
|
on: From first principles: Why I bet on Scala.js
Also haxe have nice features like scala.js bu have a c like syntax conservative and is more practical.
Big interaction with externs js with external types definition, dynamics and untyped blocks. And can interact with npm, webpack, closure and browserify.
Js code generated is really small