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.
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.
- 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.
- 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?
- CTO’s guide to Svelte – what can the rising frontend framework do for you?
- Same but different: Introduction to Svelte
- Svelte: comparison with other frameworks
- A quick example that emphasis the pros and cons of Svelte
- Svelte’s Homepage
- The official Selvte community
- Svelte GitHub repository
- Svelte Discord server
- Svelte sub-reddit
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:
- The official tutorial by Svelte developers.
- Building My First Svelte App: Thoughts and Impressions by Chris on Code
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:
- OmniaWrite - A text editor engineered for creative writing. Also on GitHub
- TypeRunner.js - A simple typing game, which has 2-4 human players compete against each other. The one to first type out the entire block of text wins.
- Hacker News clone built with Svelte. Also on GitHub.
- Nomie - Mood and Life Tracker built with Svelte. Also on GitHub.
- Cool showcase of many other apps made with Svelte
- svelte-grid - A responsive, draggable and resizable grid layout, for Svelte
- Vime - Focused on making embedding and using media elements for the web simple
- svelte-mui - A set of Svelte UI components inspired by Google's Material Design
- svelte-component-template - A base for building shareable Svelte 3 components
- svelte-loader - Webpack loader for Svelte components
- svelte-routing - A declarative Svelte routing library with SSR support
- Routify - Automated Svelte routes
- svelte-inetllij - Provides syntax highlighting of Svelte components in WebStorm and friends
- @testing-library/svelte - Simple and complete DOM testing utilities that encourage good practices
- svelte-apollo - Svelte integration for Apollo GraphQL
- Search repos more here
- Explore some basic code examples
- The official Svelte blog
- Why Svelte - a news aggregator built especially for Svelte news
- daily.dev - Never miss an update about Svelte. Let daily.dev collect and rank the latest tech news for you every new tab
- Svelte newsletter - get the latest Svelte news to your inbox bi-weekly
Did I miss an important resource? Comment below and let me know! 👇🏽
- How to write viral stories for developers
- How to gain experience as a web developer? Powerful ideas for code newbies
- 10 useful web development newsletters
- 5 useful DevOps newsletters that will blow your mind 🤯
- 5 practical ways for web developers to stay updated in the latest tech news
daily.dev delivers the best programming news every new tab. We will rank hundreds of qualified sources for you so that you can hack the future.