News for hackers. Stuff that matters.
Re:In Defense of the Modern Web by pier25 on Friday May 15, 2020 @11:52AM (#23193621)
> 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.ht...

Also check the metrics for a real world project:

https://medium.com/dailyjs/a-realworld-comparison-of-front-e...

Re:In Defense of the Modern Web by robertoandred on Friday May 15, 2020 @12:37PM (#23194136)
You don't need additional state management or css "stuff" to use React.
Re:In Defense of the Modern Web by pier25 on Friday May 15, 2020 @01:02PM (#23194484)
Certainly but it's very common.