Video Belajar
Tonton dan pelajari berbagai topik menarik melalui video pembelajaran eksklusif dari Channel Huntabyte.
Huntabyte
8600
Svelte Has Been Hiding Something...
A couple months ago a friend of mine told me about Svelte's "secret" @component comment blocks. These blocks let you add JSDoc-like comments to your Svelte components so consumers can read them by simply hovering over the component.
There is an open PR to add this to the documentation, so it seems they don't plan on hiding it forever 😉
🌐 Personal Site: https://hj.run
🚀 Modern SaaS Course: https://hbyt.us/modern-saas
💬 Discord: https://hbyt.us/discord
🐦 X/Twitter: https://hbyt.us/twitter
🖥️ Setup Stuff: https://hbyt.us/gear
📃 Topics Covered:
- Svelte comments
- Svelte component docs
- Svelte Component JSDocs
- Svelte component comments
- Svelte 'component' blocks
- Svelte component IDE docs
There is an open PR to add this to the documentation, so it seems they don't plan on hiding it forever 😉
🌐 Personal Site: https://hj.run
🚀 Modern SaaS Course: https://hbyt.us/modern-saas
💬 Discord: https://hbyt.us/discord
🐦 X/Twitter: https://hbyt.us/twitter
🖥️ Setup Stuff: https://hbyt.us/gear
📃 Topics Covered:
- Svelte comments
- Svelte component docs
- Svelte Component JSDocs
- Svelte component comments
- Svelte 'component' blocks
- Svelte component IDE docs