Learn Svelte in this full course for beginners! Svelte is a front-end JavaScript framework for making interactive webpages.
â?ï¸ Li Hau Tan developed this course. Li is a core maintainer of Svelte. Check out his channel: https://www.youtube.com/lihautan
ð??» Code links in top comment (because of YouTube’s description character limit)
âï¸ Course Contents âï¸
â?¨ï¸ (0:00:23) Introduction
â?¨ï¸ (0:00:31) Writing your 1st Svelte component
â?¨ï¸ (0:06:25) Style your Svelte component
â?¨ï¸ (0:18:48) Adding data to Svelte component
â?¨ï¸ (0:23:22) Reactivity in Svelte
â?¨ï¸ (0:37:41) Attaching events in Svelte
â?¨ï¸ (0:48:07) Reactive Declarations and Statements
â?¨ï¸ (1:06:19) tick()
â?¨ï¸ (1:19:06) Component and props
â?¨ï¸ (1:29:09) Component events
â?¨ï¸ (1:44:35) Forwarding component events
â?¨ï¸ (1:56:17) class: directive
â?¨ï¸ (2:02:31) Binding
â?¨ï¸ (2:13:04) bind:group
â?¨ï¸ (2:24:18) bind:this
â?¨ï¸ (2:35:28) Component Lifecycle
â?¨ï¸ (2:45:55) onMount
â?¨ï¸ (2:55:27) {#if} block
â?¨ï¸ (3:04:38) {#each} block
â?¨ï¸ (3:22:46) keyed {#each} block
â?¨ï¸ (3:46:33) keyed {#each} visualized
â?¨ï¸ (4:06:58) {#await} block
â?¨ï¸ (4:27:01) {#key} block
â?¨ï¸ (4:40:10) Context
â?¨ï¸ (4:56:21) Communicating through Context
â?¨ï¸ (5:16:06) Intro to Svelte store
â?¨ï¸ (5:29:07) Writable store
â?¨ï¸ (5:32:11) Readable store
â?¨ï¸ (5:40:25) Svelte store contract
â?¨ï¸ (5:53:34) Redux store as Svelte store
â?¨ï¸ (6:06:01) Valtio state as Svelte store
â?¨ï¸ (6:18:55) XState as Svelte store
â?¨ï¸ (6:25:34) DOM events as Svelte store
â?¨ï¸ (6:42:50) Immer for immutable Svelte store
â?¨ï¸ (7:12:07) derived() Svelte store
â?¨ï¸ (7:28:08) tweened() Svelte store
â?¨ï¸ (7:54:58) tweened() and spring()
â?¨ï¸ (8:15:42) Higher Order Store
â?¨ï¸ (8:44:41) RxJS as Svelte store
â?¨ï¸ (8:55:39) Reactive class property using stores
â?¨ï¸ (9:21:33) Undo / Redo with Svelte store
â?¨ï¸ (10:22:02) Reactive Context
â?¨ï¸ (10:27:56) 3 tips to manage complex store
â?¨ï¸ (10:59:51) get() Svelte store value
â?¨ï¸ (11:06:29) Store vs Context
â?¨ï¸ (11:24:18) Intro to Svelte action
â?¨ï¸ (11:30:16) Dynamic parameter in Svelte action
â?¨ï¸ (11:34:08) What if Svelte action does not exists?
â?¨ï¸ (11:58:58) Integrating UI library with Svelte action
â?¨ï¸ (12:11:27) Reusing event listeners with Svelte action
â?¨ï¸ (12:39:10) Creating events with Svelte action
â?¨ï¸ (12:50:21) The order of Svelte action
â?¨ï¸ (12:56:53) use:clickOutside
â?¨ï¸ (13:02:51) use:tooltip
â?¨ï¸ (13:37:09) use:viewport
â?¨ï¸ (13:49:14) use:popper with Popper
â?¨ï¸ (14:09:31) use:lazyImage
â?¨ï¸ (14:19:04) Ensemble Actions
â?¨ï¸ (14:51:43) slot
â?¨ï¸ (15:04:35) Passing data across slot
â?¨ï¸ (15:13:48) Slot forwarding
â?¨ï¸ (15:30:32) $$slots
â?¨ï¸ (15:39:41) Infinite List
â?¨ï¸ (16:06:40) Tabs
â?¨ï¸ (16:40:46) $$props and $$restProps
â?¨ï¸ (17:06:19) Lazy Component
â?¨ï¸ (17:40:37) svelte:component
â?¨ï¸ (17:49:27) svelte:self
â?¨ï¸ (17:55:25) svelte:window
â?¨ï¸ (18:03:28) svelte:body
â?¨ï¸ (18:07:14) svelte:head
â?¨ï¸ (18:16:30) svelte:options
â?¨ï¸ (18:45:27) Passing CSS Custom Properties to Component
â?¨ï¸ (19:13:10) {@html}
â?¨ï¸ (19:35:02) {@debug}
â?¨ï¸ (19:40:39) script context=”module”
â?¨ï¸ (20:00:04) Intro to Svelte transitions
â?¨ï¸ (20:03:07) Coordinating transitions
â?¨ï¸ (20:06:53) Transition Events
â?¨ï¸ (20:10:49) Easing
â?¨ï¸ (20:13:56) Accessible transitions
â?¨ï¸ (20:23:01) Solid color swipe transition
â?¨ï¸ (20:38:04) Flipboard transition
â?¨ï¸ (20:54:28) Client-side component API
â?¨ï¸ (21:20:03) SSR component API
â?¨ï¸ (21:39:57) Svelte compiler API
â?¨ï¸ (22:08:14) Svelte preprocess API
â?¨ï¸ (22:25:52) Hydrating Svelte component
â?¨ï¸ (22:57:06) svelte/register
â?¨ï¸ (23:09:31) Conclusion
Links:
Twitter: https://twitter.com/lihautan
YouTube: https://youtube.com/c/lihautan
Website: https://lihautan.com/
Supporting https://www.buymeacoffee.com/lihautan
—
Svelte https://svelte.dev/
Svelte REPL https://svelte.dev/repl
Svelte Discord https://svelte.dev/chat
Svelte Twitter https://twitter.com/sveltejs
Svelte Society https://sveltesociety.dev/
Svelte Society Twitter https://twitter.com/SvelteSociety
ð??? Thanks to our Champion and Sponsor supporters:
ð??¾ Nattira Maneerat
ð??¾ Heather Wcislo
ð??¾ Serhiy Kalinets
ð??¾ Erdeniz Unvan
ð??¾ Justin Hual
ð??¾ AgustÃn Kussrow
ð??¾ Otis Morgan
—
Learn to code for free and get a developer job: https://www.freecodecamp.org
Read hundreds of articles on programming: https://freecodecamp.org/news