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

I am indeed only address the point about the programming model. In react, state and bindings are one and the same (using useState). In mine, your class is the binding to the element, render is only called once and you're free to subscribe to any on* events back to your class functions you wish. onclick="this.click" just works in my world. You need a bit more than the 5 lines I showed but it's trivial. No shadow-dom, no reconciliation, no unnecessary blowing away of elements at all, and no reparsing the tree.


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

Search: