DEV Community

Discussion on: Popularity is not Efficiency: Solid.js vs React.js

Collapse
 
adaptive-shield-matrix profile image
Adaptive Shield Matrix • Edited

Solid.js is better than React in every category, except ecosystem size/breath.

Solid.js scales much better than React.

"React's virtual DOM and component-based architecture are well-suited for building large and complex applications"

  • component based -> applies to solidjs as well
  • well-suited for building large and complex applications -> applies to solid.js as well

Solid.js is the spiritual success to react.
It has all its upsides (except ecosystem size) and none of its downsides (missing signal based state solutions), while being very similar (using JSX and having similar hooks like APIs). Solidjs is the perfect choice for React developers.

Both Solid.js and Svelte -> are successors of React, because they learned on Reacts mistakes and improved/solved them, each in their own way.

  • Svelte -> introduced a custom syntax that is transformed with compiler magic using native/underlying DOM.
  • Solidjs -> build-in a signal based state manager while getting rid of VDOM for better performance.

Both Svelte and Solidjs are at the top of the performance charts because if this.

New/Junior Developers should learn

  • React -> if you want to get a job and support a legacy web app
  • Svelte or Solid -> if you want to be productive/joyful of your work