Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

I've built a library to make vanilla webcomponents reactive via a manual render() call that updates only changed nodes:

https://vorticode.github.io/solarite/

I was planning to improve performance more before announcing it. But even as is it beats React and approaches Lit.js on the JS framework benchmarks.



I've done something similar to this for my own internal applications, making use of snabbdom to handle the DOM updates. Snabbdom is tiny, robust, proven, and unopinionated; so I didn't see any particular need to reinvent that wheel.


Nice. I used the open source udomdiff for my domdiffing, since my approach didn't use a virtualdom.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: