Video details

Svelte 101: Components and Props


Components are the way to reuse and compose logics.
We shall take a look on how to use components in a component and how to pass data from a parent component to a child component
Introduction 00:00​ Adding a component 00:30​ Passing data from parent component to child component 03:22​ Default props value 06:10 Spreading props 07:00
Related Resources Svelte​ Svelte REPL​ Svelte Tutorials: Declaring props Svelte Tutorials: Default values Svelte Tutorials: Spread props
🥰 Support me​
Want to learn more from me? Check out these links:
Twitter:​ Blog:​ Newsletter:​
#svelte​ #svelte101​
Thanks for watching 🥰 -- with love, Li Hau