by nateroling · 4y ago · 0 comments
To me the brilliance of React is the VDOM, which allows you to treat your components like a render loop in a game.
What’s the piece that I’m missing that separates Signals from RxJS observables?
At a very high level, the thing that this offers versus (anything) is a very minimal reactivity solution that’s small and designed specifically to be integrated into Preact’s VDOM. Other than that, it’s a whole lot of details at a level that most people won’t care about beyond the minutiae of implementation and the nuance people actively implementing these libraries can provide.
The computed function seems almost identical.