We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Learn more about funding links in repositories.
Report abuse
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
https://svelte.dev/docs/svelte/legacy-svelte-self shows old prop declaration syntax:
<script> export let count; </script> {#if count > 0} <p>counting down... {count}</p> <svelte:self count={count - 1} /> {:else} <p>lift-off!</p> {/if}
Should probably update to $props()
N/A
annoyance
The text was updated successfully, but these errors were encountered:
Update 31-legacy-svelte-self.md
23d355a
Addresses sveltejs#15160
This is in the legacy documentation, and as such should use Svelte 4/3 syntax.
Sorry, something went wrong.
No branches or pull requests
Describe the bug
https://svelte.dev/docs/svelte/legacy-svelte-self shows old prop declaration syntax:
Should probably update to $props()
Reproduction
N/A
Logs
System Info
Severity
annoyance
The text was updated successfully, but these errors were encountered: