23 ms·
Then I read your first comment wrong, I was referring to my quote in https://news.ycombinator.com/item?id=20236130 https://news.ycombinator.com/item?id=20236130
by arve0 7y ago
Then I read your first comment wrong, I was referring to my quote in https://news.ycombinator.com/item?id=20236130 https://news.ycombinator.com/item?id=20236130
Regarding the comparison in source bytes, here it is:
minified lit-(element + html)[1]: 21.4k
I'm not sure it "amortizes" svelte when having more components, when runtime in hello world example is less then 8x size. Would love to see an example. Tried finding lit-element in "Real World Example" [2], but did not find it. Maybe you have some pointers?
1: https://bundlephobia.com/result?p=lit-element@2.2.0 https://bundlephobia.com/result?p=lit-element@2.2.0
2: https://www.freecodecamp.org/news/a-realworld-comparison-of-front-end-frameworks-with-benchmarks-2019-update-4be0d3c78075/ https://www.freecodecamp.org/news/a-realworld-comparison-of-...