DEV Community

Musab
Musab

Posted on

Learning Svelte & SvelteKit

Image description

During my Northcoders software bootcamp, a mentor introduced us to the State of JS survey, an annual survey that measures the preferences of JavaScript developers, exploring widely used frameworks, favoured frameworks, and those gaining popularity. At the time, we were learning React.js, which I found somewhat challenging. Despite React’s popularity and widespread usage, the survey revealed that another framework, Svelte.js, scored higher in terms of developer preference and popularity.

Intrigued by this finding, I dedicated some time after completing the bootcamp to learning basic Svelte and used it to build my first portfolio site. I found it much easier to pick up compared to React, and it was a joy to work with. However, my foray into working with Svelte was short-lived as I landed a job and became busy with the responsibilities that came with it.

Now, with the goal of building a few Micro-SaaS projects, I recognise the need to refresh my front-end knowledge. I have decided to dive deeper into Svelte.js to further my understanding. To start, I’m following a tutorial by Vercel that covers all the fundamental concepts of SvelteKit which is the equivalent of Next.js for Svelte — once I have a solid foundation I’ll begin building.

Throughout my learning journey, I’ll write posts / articles on the key concepts of Svelte / SvelteKit as a means of consolidating my knowledge. If you’ve never used Svelte before, I highly recommend exploring it. It’s very easy to set up and most importantly you’ll be pleasantly surprised by its unique (and straightforward) approach to reactivity.

In my next post I’ll cover more about how Svelte handles reactivity. If you have used Svelte, let me know your thoughts in the comments!

Top comments (1)

Collapse
 
max131 profile image
Mario

You could try the official sveltekit tutorial, is pretty good. By the way, learn all you can about svelte, but keeping in mind the upcoming svelte 5, that have a couple of "breaking changes" but it will still retro compatible with svelte 4.