3 ms·
This seems like a good place to plug my library, Solarite. It's a minimal, compilation-free JavaScript library that adds reactivity to native web components, a
by eric-p7 1y ago
This seems like a good place to plug my library, Solarite.
It's a minimal, compilation-free JavaScript library that adds reactivity to native web components, as well as scoped styles and a few other ease-of-life features.
https://vorticode.github.io/solarite/ https://vorticode.github.io/solarite/
- sabellito 1y agoReading through the example, it seems like it doesn't do reactivity, as the user code must call render() manually on state changes. Did I miss something?
- eric-p7 1y agoNo, that's correct. I did it that way deliberately as a design choice. Is that not still considered reactivity? If so then I'll update the docs.
- sabellito 1y agoI'm definitely not the authority on the definition of that word, but in my view I expect reactivity to mean that the UI reacts to state changes "automatically".
- veidelis 1y agoIs there a way to connect components similarly like react-redux so that they can access external state without prop drilling? Good job.