3 ms·
I've been thinking about this. I'm surprised it's not being talked about more. Preact's signals library even supports React, though from what I last heard not w
by solarkraft 4y ago
I've been thinking about this. I'm surprised it's not being talked about more. Preact's signals library even supports React, though from what I last heard not with its current (concurrent) rendering mode.
I've seen Jotai mentioned in the thread and now I wonder: Is it exactly what signals also do? Is it just the same thing? It seems to take state out of the component in a very similar way.
- samuelstros 4y agoEverything around signals is a bit ambiguous... The decision for SolidJS, and likely the differentiator to Jotai et al., is simplicity. The reactive system (signals) are de-coupled from rendering. SolidJS is not doing a good job communicating that fact. The de-coupling leads to a simple reactive model that works in plain JS and thereby JSX too. I recommend this video https://www.youtube.com/watch?v=J70HXl1KhWE https://www.youtube.com/watch?v=J70HXl1KhWE