DEV Community

Cover image for Why Svelte is different - and awesome!

Why Svelte is different - and awesome!

Jannik Wempe on April 25, 2021

Just to get this out of the way in the beginning: This is not meant to be bashing other frameworks like React, Vue or Angular. I used all of them ...
Collapse
 
kalashin1 profile image
Kinanee Samson

Angular does not use a virtual DOM

Collapse
 
jannikwempe profile image
Jannik Wempe

Thanks for pointing that out. Good catch!

Angular uses an Incremental DOM. Edited the post.

Collapse
 
nicozerpa profile image
Nico Zerpa (he/him)

I've tried Svelte a couple of days ago, it's fantastic! I prefer to wait a little bit more until using it in real projects, but I definitely like it.

Collapse
 
jannikwempe profile image
Jannik Wempe

Cool! Definetly look out for SvelteKit 😉

Collapse
 
umidberdiev profile image
Umid Berdiev • Edited

What about vite?

Collapse
 
jannikwempe profile image
Jannik Wempe

Vite is something different - a build tool.

You can use Svelte with Vite using this official plugin.

Collapse
 
jonrandy profile image
Jon Randy 🎖️

Not really so revolutionary... Svelte appears to be heavily inspired by the excellent RiotJS

Collapse
 
jannikwempe profile image
Jannik Wempe

Hey @jonrandy ,
thanks for pointing me tio RiotJS. I have to admit I didn't know it. Nevertheless, the point is not that Svelte is somehow revuliotionary. Also RiotJS was not the first thing shifting work toward the build instead of runtime.

These compilers are rather unknown compared to the bigger frameworks like React, Vue and Angular. Therefore I still think Svelte in "different".

Collapse
 
oniichan profile image
yoquiale

It doesn't look bad but Vue and Angular directives are better

Collapse
 
souksyp profile image
Souk Syp.

Electron + Electron Reloader + Svelte (Rollup) is a good combo for desktop apps.

Collapse
 
lepinekong profile image
lepinekong

Can I compile svelte in a browser for creating a playground myself ?

Collapse
 
louislow profile image
Louis Low

How about this Knott, a weightless vdom web component library. Anyone can help what type of this tool belongs.