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/4afa48f89eb74abb954bcb25f95adfa2?version=3.38.2
🎧 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 Tutorial svelte:component https://svelte.dev/tutorial/svelte-component
🥰 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
Download
0 formats
No download links available.
Svelte Tutorial for Beginners - svelte:component | NatokHD