Zum Hauptinhalt springen
Academind
Alle Kurse

Academind-Pro-Kurs

Svelte.js - The Complete Guide

Build high-performance web applications with SvelteJS - a lightweight JavaScript compiler

  • 19 Abschnitte · 199 Lektionen
  • 12 Std., 41 Min. insgesamt
Svelte.js - The Complete Guide

Über diesen Kurs

You’ve got JavaScript basics, but building a modern UI still feels like a lot of ceremony: boilerplate, complex setup, and apps that don’t feel as fast as they should. You want something that’s reactive and clean—without needing to “join” a huge framework first.

This course shows you how Svelte works by teaching the rules that make its compiler shine, then immediately applying them in practice. You’ll move through focused theory + hands-on modules, with assignments and tasks that force the concepts to stick instead of staying abstract.

By the end, you’ll be able to create production-ready Svelte apps that compile into small, optimized bundles, communicate with a backend, and can be run on a real server. You’ll know how to structure your UI into reusable building blocks and ship an app that feels lightweight, fast, and maintainable.

Was du lernst

You’ll go from Svelte’s compiler-driven mindset to shipping reactive apps that fetch data, manage state, and can be pre-rendered on a server for SEO.

  1. 01

    Write Svelte syntax

    Build UIs using Svelte’s base syntax and core features, so your “normal JavaScript” and markup follow the rules Svelte needs to compile efficient browser code.

  2. 02

    Render dynamic UI

    Create interfaces that adapt to data by rendering conditional content and lists, so your pages update cleanly as state changes without manual DOM work.

  3. 03

    Build reactive apps

    Implement reactive, high-performance behavior in your UI so updates stay fast and predictable, helping you deliver modern interfaces that load quickly and run smoothly.

  4. 04

    Compose with components

    Split your app into reusable components, pass data around them, and create maintainable building blocks you can combine to scale a real frontend application.

  5. 05

    Manage state with stores

    Use Svelte stores to manage application data efficiently, keeping shared state consistent across components without turning your codebase into a tangle of props.

  6. 06

    Connect server and SEO

    Send and fetch data from a backend server, then pre-render your app on a server to improve SEO—so your Svelte project works beyond a purely client-side demo.

Voraussetzungen

  • Basic JavaScript knowledge is required.

  • No prior SvelteJS knowledge (or experience with React, Angular, or Vue) is needed.

Für wen dieser Kurs ist

  • JavaScript beginners

    You know the fundamentals but haven’t built a modern reactive UI yet. This course gives you a clear, guided path into Svelte without assuming framework experience.

  • Frontend developers

    You want to build high-performance web interfaces and you’re tired of unnecessary complexity. Svelte is a lightweight option when you care about speed and clean code.

  • Framework switchers

    You already use React, Angular, or Vue and you’re curious about a production-ready alternative. This course helps you evaluate Svelte as a way to build with less code and a faster result.

Lehrplan

Sieh dir Aufbau und Tempo dieses Kurses an, bevor du startest.

  1. 1Getting Started10 Lektionen · 41 Min.
    1. 01Introduction2:38 Min.
    2. 02Why Svelte?7:13 Min.
    3. 03What is Svelte?4:29 Min.
    4. 04Join our Online Learning Community0:00 Min.
    5. 05Setting Up a First App & The Course Project11:09 Min.
    6. 06Writing Some Svelte Code7:26 Min.
    7. 07Course Outline4:48 Min.
    8. 08How To Get The Most Out Of The Course3:27 Min.
    9. 09Course Resources0:00 Min.
    10. 10The Academind Pro Referral Program0:00 Min.
  2. 2Base Syntax & Core Features17 Lektionen · 1 Std., 5 Min.
    1. 01Module Introduction3:55 Min.
    2. 02Using Curly Braces & Understanding the Core Syntax5:36 Min.
    3. 03Reactive Variables5:48 Min.
    4. 04More Reactivity2:09 Min.
    5. 05Binding to Element Properties4:16 Min.
    6. 06Two-Way Binding Shortcut1:41 Min.
    7. 07Using Multiple Components8:30 Min.
    8. 08Components & Communication via Props3:45 Min.
    9. 09Diving Deeper into Bindings6:00 Min.
    10. 10Using Self-Extending Properties1:10 Min.
    11. 11Outputting HTML Content3:32 Min.
    12. 12A XSS Example0:00 Min.
    13. 13Setting Dynamic CSS Classes4:15 Min.
    14. 14Assignment - Basics (Problem)2:13 Min.
    15. 15Assignment - Basics (Solution)10:27 Min.
    16. 16Wrap Up1:16 Min.
    17. 17Useful Resources & Links0:00 Min.
  3. 3Working with Conditionals & Loops11 Lektionen · 46 Min.
    1. 01Module Introduction0:49 Min.
    2. 02Using "if" Statements in HTML5:25 Min.
    3. 03if, else & else-if4:27 Min.
    4. 04Outputting Lists with "each"8:05 Min.
    5. 05"each", "else" & Extracting the Index2:11 Min.
    6. 06Lists & Keys9:55 Min.
    7. 07Assignment - Conditionals & Loops (Problem)1:19 Min.
    8. 08Assignment - Conditionals & Loops (Solution)9:07 Min.
    9. 09A Closer Look at List Keys4:16 Min.
    10. 10Wrap Up0:36 Min.
    11. 11Useful Resources & Links0:00 Min.
  4. 4A Closer Look At Reactivity6 Lektionen · 12 Min.
    1. 01Module Introduction0:58 Min.
    2. 02Updating Arrays & Objects Immutably2:29 Min.
    3. 03Understanding Event Modifiers5:04 Min.
    4. 04Using Inline Functions3:11 Min.
    5. 05Wrap Up0:44 Min.
    6. 06Useful Resources & Links0:00 Min.
  5. 5Course Project - First Steps14 Lektionen · 1 Std., 5 Min.
    1. 01Module Introduction1:18 Min.
    2. 02Project Setup & A First Component8:41 Min.
    3. 03Different Ways of Mounting Components5:07 Min.
    4. 04How to Embed Widgets0:00 Min.
    5. 05Adding Data3:35 Min.
    6. 06Adding a New Component (MeetupItem)4:18 Min.
    7. 07Working with Different Component Types3:32 Min.
    8. 08Passing Data Into Components5:37 Min.
    9. 09Adding a "MeetupGrid" Component4:25 Min.
    10. 10Adding New Meetups via a Form9:24 Min.
    11. 11Creating a "TextInput" Component11:08 Min.
    12. 12Adding a Custom "Button" Component5:58 Min.
    13. 13Wrap Up2:20 Min.
    14. 14Useful Resources & Links0:00 Min.
  6. 6Diving Deeper Into Components16 Lektionen · 1 Std., 7 Min.
    1. 01Module Introduction1:43 Min.
    2. 02Understanding the Different Component Types1:40 Min.
    3. 03Component Communication Overview3:01 Min.
    4. 04Event Forwarding4:52 Min.
    5. 05Emitting Custom Events4:54 Min.
    6. 06How to Extract Event Data2:27 Min.
    7. 07Using Spread Props & Default Props6:56 Min.
    8. 08Working with Slots6:25 Min.
    9. 09Named & Default Slots3:30 Min.
    10. 10Example: Opening & Closing a Modal3:18 Min.
    11. 11Using Slot Props5:26 Min.
    12. 12The Component Lifecycle - Theory4:53 Min.
    13. 13Creation & Update Lifecycle Hooks in Action7:27 Min.
    14. 14Using "tick()"9:18 Min.
    15. 15Wrap Up0:56 Min.
    16. 16Useful Resources & Links0:00 Min.
  7. 7Course Project - Components Deep Dive11 Lektionen · 47 Min.
    1. 01Module Introduction0:33 Min.
    2. 02Adding Default Props3:22 Min.
    3. 03Communication via Custom Events11:16 Min.
    4. 04Utilizing Slots5:11 Min.
    5. 05Creating an "EditMeetup" Component7:56 Min.
    6. 06Communicating Between Components3:45 Min.
    7. 07Time for More Slots!3:21 Min.
    8. 08Adding a Re-Usable "Modal" Component7:05 Min.
    9. 09Finishing the "Modal" Component3:29 Min.
    10. 10Wrap Up0:37 Min.
    11. 11Useful Resources & Links0:00 Min.
  8. 8Working with Bindings & Forms11 Lektionen · 35 Min.
    1. 01Module Introduction0:34 Min.
    2. 02Two-Way Binding Refresher2:46 Min.
    3. 03Understanding Custom Component Bindings6:05 Min.
    4. 04Relying on Automatic Number Conversion2:55 Min.
    5. 05Binding Checkboxes & Radio Buttons4:53 Min.
    6. 06Binding Dropdowns2:04 Min.
    7. 07Binding to Element References5:17 Min.
    8. 08Binding to Component References2:49 Min.
    9. 09Validating Forms & Inputs6:42 Min.
    10. 10Wrap Up0:58 Min.
    11. 11Useful Resources & Links0:00 Min.
  9. 9Course Project - Bindings & Forms8 Lektionen · 23 Min.
    1. 01Module Introduction0:33 Min.
    2. 02Exploring Different Validation Solutions2:31 Min.
    3. 03Adding Validation & Error Output to the "TextInput" Component3:36 Min.
    4. 04Adding Some Validation Logic3:24 Min.
    5. 05Finishing "TextInput" Validation7:00 Min.
    6. 06Validating the Overall Form2:50 Min.
    7. 07Improvements & Wrap Up3:16 Min.
    8. 08Useful Resources & Links0:00 Min.
  10. 10Managing State & Data with Stores14 Lektionen · 52 Min.
    1. 01Module Introduction1:03 Min.
    2. 02What's the Problem?3:41 Min.
    3. 03Creating a Writable Store & Subscribing5:34 Min.
    4. 04Updating Store Data4:35 Min.
    5. 05Stores and Stateful & Presentational Components1:56 Min.
    6. 06Managing Store Subscriptions3:52 Min.
    7. 07Using Autosubscriptions2:49 Min.
    8. 08A Second Store!6:48 Min.
    9. 09Subscribing for a Short Period3:48 Min.
    10. 10Understanding Readable Stores8:45 Min.
    11. 11Unlimited Power with Custom Stores7:56 Min.
    12. 12Wrap Up1:21 Min.
    13. 13Derived Store & Store Bindings0:00 Min.
    14. 14Useful Resources & Links0:00 Min.
  11. 11Course Project - Stores12 Lektionen · 1 Std.
    1. 01Module Introduction1:13 Min.
    2. 02Setting Up a Store3:00 Min.
    3. 03Using a Custom Store8:09 Min.
    4. 04Tapping into the Store from Different Components5:06 Min.
    5. 05Adding a "MeetupDetail" Component12:33 Min.
    6. 06Preparing the "Edit Meetup" Form5:09 Min.
    7. 07Continuing Work on the "Edit" Feature9:13 Min.
    8. 08Adding a "Delete" Functionality3:22 Min.
    9. 09Adding a "Filter" Component8:48 Min.
    10. 10Some Final Steps2:36 Min.
    11. 11Wrap Up0:48 Min.
    12. 12Useful Resources & Links0:00 Min.
  12. 12Motion, Transitions & Animations11 Lektionen · 37 Min.
    1. 01Module Introduction0:53 Min.
    2. 02Animating Values with a Tweened Store6:54 Min.
    3. 03Using a Spring Store Instead8:20 Min.
    4. 04Preparing a Transition Example3:38 Min.
    5. 05Element Transitions6:30 Min.
    6. 06More on Transitions5:17 Min.
    7. 07Using Different "in" and "out" Transitions1:30 Min.
    8. 08Animating Passive (Affected) Items2:51 Min.
    9. 09Deferred Transitions0:00 Min.
    10. 10Wrap Up0:47 Min.
    11. 11Useful Resources & Links0:00 Min.
  13. 13Course Project - Transitions5 Lektionen · 11 Min.
    1. 01Module Introduction1:03 Min.
    2. 02Animating the Modal3:26 Min.
    3. 03Animating the Meetup Items4:53 Min.
    4. 04Animating the "Favorite" Badge & Wrap Up1:25 Min.
    5. 05Useful Resources & Links0:00 Min.
  14. 14Network Interaction via Http10 Lektionen · 32 Min.
    1. 01Module Introduction1:32 Min.
    2. 02Adding a REST API2:44 Min.
    3. 03Sending Data via a POST Request6:58 Min.
    4. 04Showing a Loading Indicator & Sending Correct Data3:16 Min.
    5. 05Fetching & Transforming Data4:12 Min.
    6. 06Things to Consider2:48 Min.
    7. 07Using the "await" Block3:35 Min.
    8. 08Http + A Store5:34 Min.
    9. 09Wrap Up0:59 Min.
    10. 10Useful Resources & Links0:00 Min.
  15. 15Course Project - Http10 Lektionen · 40 Min.
    1. 01Module Introduction0:34 Min.
    2. 02Storing Meetups on a Server9:16 Min.
    3. 03Fetching & Transforming Data4:53 Min.
    4. 04Adding a Loading Spinner5:44 Min.
    5. 05Updating via PATCH6:32 Min.
    6. 06Sending "Favorite" Updates & Deleting Data3:56 Min.
    7. 07Fixing the Order of Items1:09 Min.
    8. 08Adding Error Handling7:13 Min.
    9. 09Wrap Up0:47 Min.
    10. 10Useful Resources & Links0:00 Min.
  16. 16Special Elements6 Lektionen · 27 Min.
    1. 01Module Introduction0:35 Min.
    2. 02Dynamic Components7:22 Min.
    3. 03Recursive Components6:10 Min.
    4. 04Accessing Windows, Body & Head6:45 Min.
    5. 05Cross-Component Scripts5:38 Min.
    6. 06Useful Resources & Links0:00 Min.
  17. 17Routing & Server-side Rendering with Sapper17 Lektionen · 1 Std., 9 Min.
    1. 01Module Introduction0:46 Min.
    2. 02What and Why?4:58 Min.
    3. 03Understanding the Folder Structure2:53 Min.
    4. 04Inspecting the Web Page2:20 Min.
    5. 05Filenames & Routes6:45 Min.
    6. 06Error & Layout Pages2:16 Min.
    7. 07Preloading in Components5:12 Min.
    8. 08Pre-fetching Data6:31 Min.
    9. 09Migrating the Meetup Project Files into the Sapper Project6:45 Min.
    10. 10Fetching Data on the Client Side9:14 Min.
    11. 11Prefetching Data on the Server6:12 Min.
    12. 12Syncing Fetched Data & the Store3:32 Min.
    13. 13Editing & Deleting Meetups1:58 Min.
    14. 14Rendering the MeetupDetail Page7:49 Min.
    15. 15Adding Global CSS0:43 Min.
    16. 16Wrap Up0:37 Min.
    17. 17Useful Resources & Links0:00 Min.
  18. 18Deployment8 Lektionen · 22 Min.
    1. 01Module Introduction0:35 Min.
    2. 02Different App Types & Deployment Options4:35 Min.
    3. 03Building the App4:38 Min.
    4. 04Rendering Content Correctly on the Server2:52 Min.
    5. 05Deploying a SSR App3:19 Min.
    6. 06Hosting a Static Site4:49 Min.
    7. 07Wrap Up0:42 Min.
    8. 08Useful Resources & Links0:00 Min.
  19. 19Course Roundup2 Lektionen · 12 Min.
    1. 01Svelte vs React vs Angular vs Vue8:56 Min.
    2. 02Course Summary2:44 Min.

Bereit loszulegen?

Kaufe diesen Kurs auf Academind Pro oder hol dir mit All Access auf Academind Infinite alle Kurse.

Black Friday: ein Jahr All Access für 249 $ 249 $ · nur bis Angebot sichern
  • Dieser Kurs auf Academind Pro

    69 $einmalig

    Inkl. MwSt. · 30 Tage Geld-zurück-Garantie

    • Lebenslanger Zugriff auf diesen Kurs
    • Alle künftigen Updates dieses Kurses
    • Downloads, Code und ein Zertifikat
    Svelte.js kaufen
  • All Access auf Academind Infinite

    25 $im Monat

    oder 249 $ 249 $ im JahrSpare 17 %

    • Jeder Kurs, mit allen Funktionen
    • Neue Kurse, sobald sie kommen
    • Dein Tutor, mit allen Funktionen
    All Access holen

All Access enthält außerdem jeden Academind Pro-Kurs.

Academind Pro und Academind Infinite

Zwei getrennte Plattformen, jede mit eigenen Kursen und eigener Anmeldung.

Academind Pro

Unsere ursprüngliche Kursplattform auf pro.academind.com. Dein Pro-Abo und die Kurse, die du dort gekauft hast, bleiben auf Pro.

Bei Academind Pro anmelden

Academind Infinite

Unsere neue KI-first-Plattform. Pro-Mitglieder melden sich mit ihrem Pro-Konto an, und Pro All Access enthält Infinite: Jeder Kurs ist offen.

Bei Academind Infinite anmelden

Hattest du ein Pro-Konto oder einen Kurs auf Pro gekauft?

Nicht jeder Pro-Kurs ist zu Infinite umgezogen, nur diese. Wähle deinen, um ihn auf Infinite zu sehen.