4 ms·
Try Vue 3 or Svelte instead. React is a pretty retrograde DX these days, and still lacks basic concepts like computed refs, making it the least reactive of all
by chuckadams 2y ago
Try Vue 3 or Svelte instead. React is a pretty retrograde DX these days, and still lacks basic concepts like computed refs, making it the least reactive of all the current UI frameworks.
- aitchnyu 2y agoIn 2015, I was teaching how React had the easiest mental model and loads within 2 seconds. In 2018 I was teaching you can just open the Vue homepage, paste a script tag and then proceed to read docs. Wonder how Svelte is resisting the complexity explosion.
- dalmo3 2y agoWhat's a computed ref? Googling it only seems to return a Vue related "getter" concept, and I don't see a use case for that in React. And of course you're right, React isn't reactive, everything is computed by default :)
- chuckadams 2y agoSee preactjs/signals. Vue calls a Signal a Ref but otherwise the APIs are similar. I imagine there’s an implementation for React too, and one can even use the Vue reactivity API in React, but that’s wandering way off the beaten path for anyone to be learning that way.
- deleted 2y ago[deleted]