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

github logo ・1 min read

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!

twitter logo DISCUSS (10)
markdown guide
 

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?

 

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.

 

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

 

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

 

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.

 

I'll take Svelte a little more seriously when the main site / sapper site can stay up for more than 24 hours.

 

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

 

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)

 
 

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. :)

Classic DEV Post from Apr 4

Design Patterns in Java

I thought it would be a fun to write a series of blog posts looking at differen...

RealToughCandy profile image
Real-world web development! 100% indie web dev, author of Freelance Newbie, How to Get a Job in Web Development & Tiny YouTube, Udemy instructor, YouTuber. youtube.com/realtoughcandy

Sore eyes?

dev.to now has dark mode.

Go to the "misc" section of your settings and select night theme ❤️