Introduction to Svelte

Svelte is a frontend JavaScript framework. Let's get a brief introduction to it.

The frontend world evolves at an incredible pace. A slight exaggeration would be to state that a new frontend framework is released every week or two. This is certainly how it feels, especially for anyone new to frontend development who is looking for a way to get started.

This may be the case because browsers continue to innovate and new versions of JavaScript bring new features that developers can take advantage of to develop faster, more lightweight frontend frameworks.

Similar to how JavaScript advances, although at a slightly slower pace, so do CSS and related frameworks.

In this course, choices are made for certain frameworks. It is important to evaluate each choice in the context of your own situation and to consider its pros and cons to determine whether it’s a good fit in your case.

Svelte

Svelte is a radical new approach to building user interfaces. Whereas traditional frameworks like React and Vue do the bulk of their work in the browser at runtime, Svelte shifts that work into a compile step that happens when you build your application, as shown in the figure from IJS Blog:

Get hands-on with 1200+ tech skills courses.