News for hackers. Stuff that matters.
Re:Is ReactJS really fast? by jszymborski on Monday June 01, 2015 @02:11PM (#9640842)
The little time I've spent learning Mithril [1] makes me think it's a nice middle ground between speed and pleasurable coding experience.

Their benchmarks have it at 8x faster at rendering (uncompiled) and 28x faster to load (although Benchmarks Lie (TM)).

It feels like writing vanilla javascript for the most part, which is delightful and exciting. The Views part however, which is most comparable with React since React only deals with views, is extremely reminiscent of React, and you can even write MSX, which is just basically JSX with some subtle differences.

[1] http://mithril.js.org/

EDIT: Link

Re:Is ReactJS really fast? by kholbekj on Tuesday June 02, 2015 @03:58AM (#9644514)
"It feels like writing vanilla javascript for the most part, which is delightful and exciting." - this sentence makes me shiver.

That being said, this looks interesting, thanks for bringing it to attention!

Re:Is ReactJS really fast? by jszymborski on Thursday June 04, 2015 @08:25PM (#9663121)
ahaha I understand why it would. I meant that the framework is extremely unobtrusive. All you do is create the beautiful expressive javascript objects which act as your models and controls, and then you just mount it with a mithril command, and that's it!
Re:Is ReactJS really fast? by zserge on Monday June 01, 2015 @03:15PM (#9641366)
Mithril is awesome (been using it for 7 months now). I really like that they finally have implemented components and described how they should be made.
Re:Is ReactJS really fast? by ufo on Monday June 01, 2015 @03:40PM (#9641550)
Whats the situation about components now? Last time I checked this a while ago React would encourage having lots of components with internal state and calling setState on a subcomponent would only update the DOM on that subtree. On the other hand, most other virtualdom frameworks they would encourage you to keep a single global model object to describe the whole page.