4 ms·
Imperative DOM manipulation is a pain one way or another. React does a great job of alleviating this pain by allowing for declarative DOM manipulation, but it w
by andrezsanchez 12y ago
Imperative DOM manipulation is a pain one way or another. React does a great job of alleviating this pain by allowing for declarative DOM manipulation, but it would be great to be able to do this without needing the rest of React.
- grosskur 12y agoYou might be interested in the virtual-dom and vdom-thunk NPM packages, which are used in mercury: https://github.com/Raynos/mercury https://github.com/Raynos/mercury See also Raynos's "NPM-style Frontend" presentation: https://www.youtube.com/watch?v=8w0_Xw7PPFQ https://www.youtube.com/watch?v=8w0_Xw7PPFQ