Aller au contenu principal
Académie
Intermédiaire Quartier du code

Svelte

Le framework à base de compilateur pour des interfaces rapides et légères.

Svelte is a compiler that turns small, readable components into fast JavaScript, and SvelteKit is the framework that turns those components into a complete website. This track teaches Svelte 5 the modern way, with runes, snippets and event attributes such as onclick, then moves on to SvelteKit 2 routing, load functions and form actions, and finishes with production skills: motion, accessibility, server-side rendering and deployment.

You already know JavaScript, so every lesson goes straight to what Svelte adds, with real examples from a small social app called Nova: a like button, a post card, a leaderboard and a profile page.

Leçons
24
Durée
3 h
Niveau
Intermédiaire

Les leçons de ce parcours sont en anglais pour le moment.

  • Bronze disponible
  • Argent disponible
  • Or verrouillé

Envie de faire vos preuves ?

Trois examens vous attendent : Bronze, Argent et Or.

Aller aux examens

Ce que vous saurez faire

  • Build interactive components with the runes $state, $derived, $effect and $props
  • Render conditions, keyed lists and async data, and handle events and bindings
  • Compose components with snippets, context and shared state in .svelte.ts modules
  • Build SvelteKit pages with layouts, dynamic routes, load functions and form actions
  • Ship accessible, server-rendered apps whose motion respects every user
  • Build for production with the right adapter and the performance habits that matter

L'itinéraire

  1. 1
    Module 1

    Why Svelte

    The compiler approach, your first component, and styles that stay inside it.

    0 / 3
  2. 2
    Module 2

    Reactivity with runes

    $state, deep state, $derived, $effect, $props and $bindable: the tools behind every Svelte 5 component.

    0 / 5
  3. 3
    Module 3

    Template syntax

    Conditions, keyed lists, promises, events, two-way bindings, and the class and style directives.

    0 / 4
  4. 4
    Module 4

    Composition

    Child content with snippets, sharing data with context, and state that lives in .svelte.ts modules.

    0 / 3
  5. 5
    Module 5

    SvelteKit: routing and data

    Routes and layouts from folders, dynamic params, load functions, form actions, errors and redirects.

    0 / 4
  6. 6
    Module 6

    Production

    Motion that respects reduced-motion settings, accessibility warnings, SSR and hydration, adapters and speed.

    0 / 5

Navigation rapide