2 ms·
I think they're pretty neat, and that Svelte is one. "I used this technique in my own emoji-picker-element. If you’re already using Svelte in your project, the
by benatkin 4y ago
I think they're pretty neat, and that Svelte is one.
"I used this technique in my own emoji-picker-element. If you’re already using Svelte in your project, then you can import 'emoji-picker-element/svelte' and get a version that doesn’t bundle its own framework, ensuring de-duplication. This saves a paltry 1.4 kB out of 13.9 kB total (compressed), but hey, it’s there. (Potentially I could make this the default behavior, but I like the bundled version for the benefit of folks who use <script> tags instead of bundlers. Maybe something like Skypack could make this simpler in the future.)"
https://nolanlawson.com/2021/08/01/why-its-okay-for-web-components-to-use-frameworks/ https://nolanlawson.com/2021/08/01/why-its-okay-for-web-comp...
Thing is I actually like coding in Vanilla JS, at least some of the time.