Solid.js feels like what I always wanted React to be
New JS frameworks always make for compelling hello world examples.<p>Can you branch on state or use loops over data in Solid.js? The reason _why_ React has a virtual DOM is to enable more interesting relationships between your data and your presentation. Anyone can make a framework that makes the source code for an incrementing number look pretty!<p>As an example of this point, check out the &quot;Simple Todos&quot; example for Solid.js[1].<p>In React, we render lists by using regular JavaScript idioms like loops, arrays, and array methods like map. However in Solid.js, much like traditional templating languages, we get a construct like &lt;For&gt; that reinvents a concept that&#x27;s already in the language.<p>I&#x27;ve been writing React and React-alike code for a long time. I think that fine-grained updates avoiding reconciliation are a good idea, especially for performance. At one point, I built a React-like library for Roblox and Lua whose most novel feature ended up being &quot;Bindings&quot;[2], which look sorta like Solid.js state containers. They create little hot-path data dependencies, but the bulk of your components still use normal React-like rendering.<p><pre><code>  [1]: https:&#x2F;&#x2F;www.solidjs.com&#x2F;examples&#x2F;todos
  [2]: https:&#x2F;&#x2F;roblox.github.io&#x2F;roact&#x2F;advanced&#x2F;bindings-and-refs&#x2F;</code></pre>