DEV Community

Discussion on: 5 outcomes from building a Chrome extension with Svelte

Collapse
 
ben profile image
Ben Halpern

Svelte definitely seems like a solid choice for Chrome extensions etc. due to small bundle size. I'm not a fan of extensions which drop 100kb frameworks on me to perform little simple things.

Collapse
 
alvechy profile image
Alex Vechy

That was my initial thought. But in the end of the day such lib is bundled once. So with growing codebase you have linear increase in bundle size. Then the difference is whether Svelte's generated output for components is smaller than for other frameworks.
And again, extension assets are kinda like SW cached website assets. You get them once and maybe even in browser idle (when updated) and then use it without any loading time.