DEV Community

Play Button Pause Button
RealToughCandy.io
RealToughCandy.io

Posted on

Oh snap, here comes *another* JavaScript framework | SVELTE

We all knew this day was coming in the frontend framework wars.

Svelte is a radical new approach to building user interfaces. Whereas frameworks like React & Vue do the bulk of their work in the browser, Svelte shifts that work into a compile step that happens when you build your app.

Rather than applying techniques like virtual DOM diffing, Svelte writes code that surgically updates the DOM when the state of your app changes.


This video originally appeared on www.youtube.com/realtoughcandy.
Come follow me there!

Top comments (9)

Collapse
 
matthias profile image
Matthias 🤖

I clicked through the tutorial and played around a bit.

My first impression was very good, I like the concept and it feels very solid.
There is also a syntax.fm episode about Svelte: syntax.fm/show/173/hasty-treat-wes....

Is it a problem for you (or does it feel strange) that there is no company behind Svelte?

Collapse
 
blindfish3 profile image
Ben Calder

If you're concerned about the future prospects of Svelte it's worth considering that Rich Harris was the initial creator of Rollup. That's doing fairly well for itself and can be found in perhaps unexpected places.

Collapse
 
stolinski profile image
Scott Tolinski

Thanks for posting this episode! I found this post randomly and was psyched to see this comment. 🙌🙌

Collapse
 
cameronapak profile image
cameronapak

Ooh! Go Syntax! Thanks for trying out Svelte and putting it on our radar!

Collapse
 
wk4 profile image
Walter Kennedy IV

Not the OP, but the backing or lack thereof by a company doesn't bother me with respect to JS stuff. Vue, for example, has Evan You (et al) behind it, and not an established company.

Collapse
 
jonrandy profile image
Jon Randy 🎖️ • Edited

Svelte seems a lot like the fantastic Riot JS (riot.js.org) which is currently at version 4, and has been around for years (since 2013)

Collapse
 
aguilera51284 profile image
Arturo Aguilera

riot <3

Collapse
 
blindfish3 profile image
Ben Calder

Agree that it might be a while before you're going to get hired based on your abilities with Svelte; but in terms of learning curves it's pretty sweet. There's virtually no boiler-plate required; so from a newbie perspective I'd expect it to be a simpler intro to component-based frameworks than React. Once you've got your head round the core concepts it should make moving on to React easy enough; though you're not going to enjoy it nearly as much :P

Collapse
 
stolinski profile image
Scott Tolinski

Just a quick note that Svelte is not that new, just the super awesome v3, just in case anyone thinks this just popped up now. :)