3 ms·
Just supply a JavaScript module that creates the component. That's what you would do if there were no web components. And it is more flexible, too. Now that we
by auggierose 2y ago
Just supply a JavaScript module that creates the component. That's what you would do if there were no web components. And it is more flexible, too.
Now that web components are part of the standard, they might be the more convenient solution for distributing components to heterogeneous environments, and allow for nicer packaging. But the price tag for that slightly nicer packaging is too high, and web components should not exist in the first place.
Also, nobody in their right mind will make web components manually, you will need a higher-level framework from which you can generate web components. And I think one of the creators of such a framework gave you his opinion on this.
To summarise: web components are shit. The world would be a better place without them and the bloat of ill-thought out specs they bring.