/web-components-compared

comparison between native wc and svelte, stencil.js etc.

Primary LanguageJavaScript

Web Components Compared

npm install
npm start
# run test in watch mode & create data for storybook
npm run test:watch
npm run storybook

Same small component build using

  • Native Custom Element
  • Svelte
  • Stencil.js
  • litElements

... and the winner is...

Framework Size 1 comp Size 2 comps
Native 2K
Svelte 4K
Stencil.js 233K
LitElements 27K