← Back to context

Comment by tekkk

5 years ago

Wow, this should be great news for Svelte and SvelteKit! Hopefully with Vercel's backing these projects will fly off.

Having worked with React for about 5 years (with a project in Vue in-between) and now having dabbled with Svelte, there is just something more appealing working with less higher-level abstractions. Sure with large apps React does have its benefits and its ecosystem is larger by a good amount.

But there is just something about being less annoying that to me is perhaps one of the most important things with any tool. If I enjoy using it, I don't mind that it may not be the "current best choice" of the moment. People who enjoy MobX especially I think ought to find Svelte quite nice.

Sure though would wish SvelteKit was at the same level with Next.js. Fixing dev server errors is a little distracting at times.

> Fixing dev server errors is a little distracting at times

You will be very pleased with the upcoming release of Vite 2.7! It's by far the most impactful release of Vite thus far for SvelteKit. All the major known issues we've been tracking have been addressed in the latest Vite 2.7 beta (assuming that one of the PRs we're still working out the kinks of doesn't get rolled back, but either way it'll be a huge improvement!)

> 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

Well if there‘s any place to learn from next.js it‘s probably Vercel. Looks like great news for Svelte.