4 ms·
Been hearing the case for web components for a very long time. Are there any implemented well? Last I looked at shoelace/web awesome, using a single component
by turtlebits 2y ago
Been hearing the case for web components for a very long time. Are there any implemented well? Last I looked at shoelace/web awesome, using a single component brought in 40k+ of JS
- burcs 2y agoWe use them pretty frequently and are even working on releasing our own web component library. I wouldn't recommend using it yet, it needs to be documented better, but here it is if you want to check it out. https://github.com/outerbase/astra-ui https://github.com/outerbase/astra-ui
- turtlebits 2y agoJust checked it out. The example in your readme doesn't work (script src is wrong). Also, it loads 250k of JS for a single button :(
- freddex 2y agoShoelace is excellent, in my experience! Well document, accessible, and a large selection of components. To solve the issue you mention, you can cherry-pick the imports [1], which imports only the specific component you need. [1]: https://shoelace.style/getting-started/installation#cherry-picking https://shoelace.style/getting-started/installation#cherry-p...