3 ms·
Here's a codepen I made that briefly shows the difference: https://codepen.io/jaeming/pen/BadQvpG https://codepen.io/jaeming/pen/BadQvpG
by jaeming 5y ago
Here's a codepen I made that briefly shows the difference: https://codepen.io/jaeming/pen/BadQvpG https://codepen.io/jaeming/pen/BadQvpG
- jaeming 5y agooh and btw, if anyone is adverse to both jQuery and React and just wants some simple reactivity in vanilla JS, this is very easily achieved these days by just using Proxy prototype. You could build your own minimal library for simple use cases: https://codepen.io/jaeming/pen/JjybgyN?editors=1011 https://codepen.io/jaeming/pen/JjybgyN?editors=1011