2 ms·
> your 10k npm dependencies Svelte projects do not put 10k dependencies in the final bundle. In fact when using Svelte you won't need many dependencies you ty
by pier25 7y ago
> your 10k npm dependencies
Svelte projects do not put 10k dependencies in the final bundle.
In fact when using Svelte you won't need many dependencies you typically need when using React:
- State management (MobX, Redux, etc)
- CSS stuff (classnames, CSS in JS, etc)
- Animation
Even on a simple use case like a synthetic benchmark Svelte is still the absolute leader in start-up metrics:
https://krausest.github.io/js-framework-benchmark/current.html https://krausest.github.io/js-framework-benchmark/current.ht...
Also check the metrics for a real world project:
https://medium.com/dailyjs/a-realworld-comparison-of-front-end-frameworks-2020-4e50655fe4c1 https://medium.com/dailyjs/a-realworld-comparison-of-front-e...
- robertoandred 7y agoYou don't need additional state management or css "stuff" to use React.
- pier25 7y agoCertainly but it's very common.