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.
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
Thanks for watching 🥰 -- with love, Li Hau