▲ | lelanthran 11 hours ago | |
> Web components are the way out of this trap. Every single framework that isn't React should be wholeheartedly supporting web components to make sure that they have access to a viable ecosystem of components and utilities without having to bootstrap an entire competitor to React and it's ecosystem. I've been using web components using a wrapper to avoid all boilerplate. It gets me 80% of web component functionality with very little effort: https://github.com/lelanthran/ZjsComponent Discussed on HN previously: https://news.ycombinator.com/item?id=44290315 Now this is not perfect, but there is, for me, no easier way to create and use new html components. | ||
▲ | brazukadev 3 hours ago | parent [-] | |
I use webcomponents the same way (with a big of help from lit-html) and there's no better way to create web apps. Knowing all the paths of a framework is absurdly productive |