Description
This collection goes over the basics of Svelte 3. What is Svelte? Instead of doing the work of building user interfaces in the browser - Svelte completes its work during a compile stage. This short course introduces the basic concepts of Svelte 3 and is a great starting point for creating your first Svelte site.
- Up and running with Svelte 3
-
- WTF is Svelte?
-
- Create a new project with Svelte 3
-
- Add data to HTML markup using Svelte 3
-
- Up and running with Svelte 3
-
- Create a new Svelte 3 component to render it inside of another component
-
- Declare and pass in properties to a Svelte 3 component
-
- Compose components with slots in Svelte 3
-
- Use named slots to compose multiple components in Svelte 3
-
- Render HTML directly into a component in Svelte 3
-
- Use Svelte 3 to gracefully show and hide DOM elements
-
- Use reactive declarations to compute component state in Svelte 3
-
- Loop over and render a list of data using an each block in Svelte 3
-
- Use await block to wait for a promise and handle loading state in Svelte 3
-
- Use DOM events and event modifiers in Svelte 3
-
- Use an onMount lifecycle method to fetch and render data in Svelte 3
-
- Use Svelte 3 stores to share data between multiple unrelated components
-
- Set a value to a Svelte 3 store
-
- Use auto-subscriptions in Svelte 3 to avoid memory leaks when using Stores
-
- Tween a value and dynamically update the DOM with Svelte 3
-
- Create a new Svelte project with TypeScript support