3 ms·
React is very far from signals (and very far from sane state management). Better alternatives: - SolidJS (kickstarted the whole signals revolution) - Svelte
by troupo 1y ago
React is very far from signals (and very far from sane state management). Better alternatives:
- SolidJS (kickstarted the whole signals revolution)
- Svelte
- Preact (and Preact Signals)
- Well, even Angular got signals now
- aquariusDue 1y agoThere's also Datastar that uses signals and ends up being the best of HTMX and Alpine.js combined (at a smaller bundle size too). https://data-star.dev/ https://data-star.dev/
- lbreakjai 1y agoReact doesn't really make many assumptions regarding state management. You're free to pick the library you want. Redux used to be the standard, but I worked on applications purely using RxJS, the way signals are presented in this article.
- troupo 1y ago> You're free to pick the library you want. They are all still pretty hampered by React's model: re-render (internally, in VDOM) the whole component on any minor change.
- buibuibui 1y agoI actually created the library after being exposed to Angular Signals starting from the v16 release. I watched some talks and read articles about Signals, just to know about Ryan Carniato from SolidJS. He did an excellent job teaching the world about Signals!