close icon
daily.dev platform

Discover more from daily.dev

Personalized news feed, dev communities and search, much better than what’s out there. Maybe ;)

Start reading - Free forever
Start reading - Free forever
Continue reading >

Svelte pros and cons, ecosystem overview and top resources

Svelte pros and cons, ecosystem overview and top resources
Author
Nimrod Kramer
Related tags on daily.dev
toc
Table of contents
arrow-down

🎯

TL;DR - unlike established component-based frameworks such as React, Angular, or Vue, with Svelte you can take building user interfaces to the next level. Many devs are interested in learning about building with Svelte and we’d love to help you kick start! Here is a hand-picked list of some valuable resources to assist you to get started with Svelte.

Why Svelte?

There's a good reason why Svelte is gaining popularity among frontend developers lately. I made a brief of the major advantages that are agreed by many developers who tried building with Svelte and lived to tell their story.

What’s the benefit?

  • Instead of doing most of the work in the browser, Svelte does its work when you build the app and it compiles it to efficient vanilla JavaScript.
  • Reduces the overhead of the JavaScript framework you’re using. By compiling Svelte to vanilla JavaScript improves the code readability, enables re-use and it produces a much faster web app.
  • Svelte does not require declarative, state-driven code, which the browser has to convert into DOM operations. That means you don’t need to use virtual DOM anymore.

What’s the downside?

  • IDE support is not yet comparable to the commonly-used frameworks. It still has a lot of room for improvement. Although there are some good resources online to solve some of the issues, it can be considered as a major disadvantage as of today.
  • Not many Svelte dev tools exist at the moment. It is still a young and growing ecosystem. Keep that in mind. However, that’s a great opportunity to develop some for the Svelte community.
  • Small open-source ecosystem. Like many other frameworks, it takes time to build a large community around a specific framework. Although Svelte has gone a pretty decent way already, there are still not enough open-source contributors. Same here, you can look at it as an opportunity as well.

Want to read more about the pros and cons of building with Svelte?

Resources to get you started

Svelte ecosystem 101 👋🏼

Tutorials 🤓

We don’t want to overwhelm you with tutorials. There are tons of tutorials out there and we picked only the ones that are both practical, comprehensive and user-friendly:

Use Cases and Demos 🚀

Like anything, inspiration is important when starting with something new. Check out some cool projects that are using Svelte. Some of them are in production and some are demo apps:

Useful code repositories 💻

Developer Tools 🔧

As we said… not many field-tested developer tools available at the moment. However, this one is quite useful: Svelte DevTools browser extension for Chrome and Firefox

Stay updated about Svelte news 🏄🏻

Why not level up your reading with

Stay up-to-date with the latest developer news every time you open a new tab.

Read more