Video details

Svelte 101: Passing data across slot

Svelte
04.19.2021
English

Whenever you are passing content into a slot, you involve 2 components, the component that creates the content, and the components that provide the slot.
In this video, we are going to take a look, how can both the components pass data into the content, and how does the content pass data to both components.
---
đź’»
REPL https://svelte.dev/repl/e4097010d06c47409be24433cf00295d?version=3.37.0
đź“š
Related Resources Svelte https://svelte.dev Svelte REPL https://svelte.dev/repl Svelte Tutorial - Slot Props https://svelte.dev/tutorial/slot-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 #svelte101
Thanks for watching 🥰 -- with love, Li Hau