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
---
💻 REPL https://svelte.dev/repl/fc9c2b8e0ea84...
🎧 Svelte Tutorial for Beginners • Svelte Tutorial for Beginners
📚 Related Resources
Svelte https://svelte.dev
Svelte REPL https://svelte.dev/repl
Svelte Tutorials: Declaring props https://svelte.dev/tutorial/declaring...
Svelte Tutorials: Default values https://svelte.dev/tutorial/default-v...
Svelte Tutorials: Spread props https://svelte.dev/tutorial/spread-props
🥰 Support me https://www.buymeacoffee.com/lihautan
🔗 Want to learn more from me? Check out these links:
Twitter: / lihautan
Blog: https://lihautan.com/
Newsletter: https://lihautan.com/newsletter
#svelte #sveltetutorial #sveltebeginner
Thanks for watching 🥰 -- with love, Li Hau