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 |