Our first svelte special element, svelte:component!
This svelte special element allows you dynamically render different components. All the props you passed to svelte:component, will be passed over to the underlying component.
---
💻 REPL https://svelte.dev/repl/4afa48f89eb74...
🎧 Svelte Tutorial for Beginners • Svelte Tutorial for Beginners
📚 Related Resources
Svelte https://svelte.dev
Svelte REPL https://svelte.dev/repl
Svelte Tutorial svelte:component https://svelte.dev/tutorial/svelte-co...
🥰 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