<story><title>Is ReactJS really fast?</title><url>http://blog.500tech.com/is-reactjs-fast/</url></story><parent_chain><item><author>feedjoelpie</author><text>React.js is actually just really pleasant to work in and easy to reason about, and the virtual DOM is what makes that all possible without it becoming unacceptably slow. DOM diffing isn&amp;#x27;t there to make React faster than everything else ever imagined. It&amp;#x27;s there to let you stop thinking about the DOM and focus on the world state of your frontend instead.&lt;p&gt;I wasn&amp;#x27;t truly interested in React until I read this, which does a better job of spelling out React&amp;#x27;s real advantages than I ever could: &lt;a href=&quot;http:&amp;#x2F;&amp;#x2F;jlongster.com&amp;#x2F;Removing-User-Interface-Complexity,-or-Why-React-is-Awesome&quot; rel=&quot;nofollow&quot;&gt;http:&amp;#x2F;&amp;#x2F;jlongster.com&amp;#x2F;Removing-User-Interface-Complexity,-or-...&lt;/a&gt;&lt;p&gt;Here&amp;#x27;s a choice quote:&lt;p&gt;&lt;i&gt;&amp;quot;Rerendering everything (and only applying it to the DOM when something actually changed) vastly simplifies the architecture of our app. Observables+DOM elements is a leaky abstraction, and as a user I shouldn&amp;#x27;t need an intimate knowledge of how the UI is kept in sync with my data. This architecture opens up lots of various ways to optimize the rendering, but it&amp;#x27;s all completely transparent to the user.&amp;quot;&lt;/i&gt;</text></item></parent_chain><comment><author>curun1r</author><text>&amp;gt; Observables+DOM elements is a leaky abstraction&lt;p&gt;The DOM itself is also a leaky abstraction. Render cycles are so prohibitively slow that we&amp;#x27;ve started maintaining a parallel DOM and implementing diffing algorithms in JavaScript. As brilliant as that may be, it&amp;#x27;s also crazy that it&amp;#x27;s come to that.&lt;p&gt;This is a problem that should be solved in the browser. HTML5 should add a simple API to transactionally update the DOM and only render after all changes are committed. This would prevent every single framework from having to implement this logic.</text></comment>
<story><title>Is ReactJS really fast?</title><url>http://blog.500tech.com/is-reactjs-fast/</url></story><parent_chain><item><author>feedjoelpie</author><text>React.js is actually just really pleasant to work in and easy to reason about, and the virtual DOM is what makes that all possible without it becoming unacceptably slow. DOM diffing isn&amp;#x27;t there to make React faster than everything else ever imagined. It&amp;#x27;s there to let you stop thinking about the DOM and focus on the world state of your frontend instead.&lt;p&gt;I wasn&amp;#x27;t truly interested in React until I read this, which does a better job of spelling out React&amp;#x27;s real advantages than I ever could: &lt;a href=&quot;http:&amp;#x2F;&amp;#x2F;jlongster.com&amp;#x2F;Removing-User-Interface-Complexity,-or-Why-React-is-Awesome&quot; rel=&quot;nofollow&quot;&gt;http:&amp;#x2F;&amp;#x2F;jlongster.com&amp;#x2F;Removing-User-Interface-Complexity,-or-...&lt;/a&gt;&lt;p&gt;Here&amp;#x27;s a choice quote:&lt;p&gt;&lt;i&gt;&amp;quot;Rerendering everything (and only applying it to the DOM when something actually changed) vastly simplifies the architecture of our app. Observables+DOM elements is a leaky abstraction, and as a user I shouldn&amp;#x27;t need an intimate knowledge of how the UI is kept in sync with my data. This architecture opens up lots of various ways to optimize the rendering, but it&amp;#x27;s all completely transparent to the user.&amp;quot;&lt;/i&gt;</text></item></parent_chain><comment><author>jszymborski</author><text>The little time I&amp;#x27;ve spent learning Mithril [1] makes me think it&amp;#x27;s a nice middle ground between speed and pleasurable coding experience.&lt;p&gt;Their benchmarks have it at 8x faster at rendering (uncompiled) and 28x faster to load (although Benchmarks Lie (TM)).&lt;p&gt;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.&lt;p&gt;[1] &lt;a href=&quot;http:&amp;#x2F;&amp;#x2F;mithril.js.org&amp;#x2F;&quot; rel=&quot;nofollow&quot;&gt;http:&amp;#x2F;&amp;#x2F;mithril.js.org&amp;#x2F;&lt;/a&gt;&lt;p&gt;EDIT: Link</text></comment>