4 ms·
Once you realize React doesn't work for complex components it loses its attraction. Web Components are conceptually way simpler and work well. See example: htt
by flowerlad 5y ago
Once you realize React doesn't work for complex components it loses its attraction. Web Components are conceptually way simpler and work well. See example:
https://github.com/wisercoder/uibuilder/blob/master/WebComponentsDemo/elements/ZxListEditor.tsx https://github.com/wisercoder/uibuilder/blob/master/WebCompo...
- paavohtl 5y agoI don't really see anything here that would be massively more complex in React. And besides, I've been hurt enough times by manual DOM manipulation to never want to do it again for interactive UI. It's a maintainability nightmare.
- crooked-v 5y agoSimpler? I don't see it. That looks way more verbose than a React equivalent component I would write.