7 ms·
If you really want something that will get of your way, use Web Components. They're a web standard, after all.
by JMTQp8lwXL 7y ago
If you really want something that will get of your way, use Web Components. They're a web standard, after all.
- _benj 7y agoI read an article about them recently. I love the idea of an standard but it feels so "committee design" with a lot of good ideas but completely throwing out the window simplicity. The older I get as a developer the more I realize that simple is not easy to accomplish. That's probably why I like svelte :)
- csande17 7y agoSvelte has an option to output Web Components, so it might be a good option if you want to use them while still writing your code in a React-y "declarative UI" style.
- JMTQp8lwXL 7y agoDid not know this. That's a game changer for me in considering Svelte, thanks.
- kjksf 7y agoReact, Vue and Svelte solve 2 big problems. 1. components (creating re-usable UI parts (i.e. components) that combine data and their rendering) 2. reactivity - re-rendering UI when data changes. Web Components only solve one of those problems. And arguably not as well.
- sunseb 7y agoWeb components are a great idea, but the current implementation sucks and is a pain to use though. Web components should look like what Svelte did!