DEV Community

Discussion on: Comparing reactivity models - React vs Vue vs Svelte vs MobX vs Solid vs Redux

Collapse
 
silvestrevivo profile image
Silvestre Vivo

I saw that, but being honest, the code you have with Svelte is smaller and more readable than with VUE, and even could be beter refactored. Currently the only framework which is pure reactive is Svelte. As some people say, React is a bad name for React. Cheers!

Thread Thread
 
hrastnik profile image
Mateo Hrastnik

We all have our preferences, but after all, we're developers, so we just have to be above it and use whatever is the right tool for the job/management forces upon us/legacy project was written in. 😁

Thread Thread
 
ryansolid profile image
Ryan Carniato

I'd like to clarify Solid is completely reactive. Arguably the most pure in the list as everything lives in it. The Components are just function calls and every part of the lifecycle is a reactive computation. Updates happen granularly at a per expression level. There are no other concepts.

Svelte is also reactive but coarser grained. While also not using a VDOM its observers are merged with its Component system. It opts for splitting create/update paths as a means to optimize. In so lifecycle feels closer to something like Vue or React+MobX.