Comment by FractalHQ

5 years ago

> ecosystem is larger by a good amount.

Svelte’s ecosystem is, in practice, actually much larger than React and any other framework because Vanilla JS works out of the box without framework specific wrappers. So just about any JavaScript package can be imported into a Svelte file and used without hassle.

It's also really easy to use with typescript.

The last place I worked was a React shop, before that I did most of the frontend as well and used Vue, Current place uses Svelte and I'm really glad they did/do, the continual surprise is how Svelte makes easy things easy and hard things doable.

> So just about any JavaScript package can be imported into a Svelte file and used without hassle.

But you can import any package into React (or any other framework) as well.

  • You cannot even import native javascript functions. Looking at you, useInterval and useJoinString