There are times you can't define enough props and you want to get all the props passed to the component, well, here are the 2 magic global variable comes to help
📝 Attributes and props https://svelte.dev/docs#Attributes_and_props
---
💻 REPL https://svelte.dev/repl/dbff4412265847d1819353bbb62547a0?version=3.38.1
🎧 Svelte Tutorial for Beginners https://www.youtube.com/playlist?list=PLoKaNN3BjQX3mxDEVG3oGJx2ByXnue_gR
📚 Related Resources
Svelte https://svelte.dev
Svelte REPL https://svelte.dev/repl
🥰 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 - $props and $restProps | NatokHD