News for hackers. Stuff that matters.
Re:Riot – A React-like, 2.5K user interface library by tipiirai on Thursday January 22, 2015 @06:44AM (#8928636)
Riot virtual DOM is a simple expression -> DOM node map. It's much different than what React has.

Riot cannot make random sub-tree replacements. It's best for situations where the tag HTML structure is fixed (no tag name changes for example).

Riot virtual DOM minimizes the work and makes less DOM manipulations than React on each update cycle.

Loops and conditionals can change the structure.

There are no comments on this comment yet.