background icons
background icons 2

Video Belajar

Tonton dan pelajari berbagai topik menarik melalui video pembelajaran eksklusif dari Channel lihautan.

lihautan

2213

Svelte Tutorial for Beginners - 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

---

💻 REPL https://svelte.dev/repl/fc9c2b8e0ea848129d90dee19b8206b0?version=3.35.0

🎧 Svelte Tutorial for Beginners https://www.youtube.com/playlist?list=PLoKaNN3BjQX3mxDEVG3oGJx2ByXnue_gR

📚 Related Resources
Svelte https://svelte.dev​
Svelte REPL https://svelte.dev/repl​
Svelte Tutorials: Declaring props https://svelte.dev/tutorial/declaring-props
Svelte Tutorials: Default values https://svelte.dev/tutorial/default-values
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: https://twitter.com/lihautan​
Blog: https://lihautan.com/​
Newsletter: https://lihautan.com/newsletter​

#svelte #sveltetutorial #sveltebeginner

Thanks for watching 🥰 -- with love, Li Hau