We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent acdd930 commit 8b42d42Copy full SHA for 8b42d42
documentation/docs/02-runes/05-$props.md
@@ -35,6 +35,8 @@ On the other side, inside `MyComponent.svelte`, we can receive props with the `$
35
<p>this component is {+++adjective+++}</p>
36
```
37
38
+> [!NOTE] If you use destructuring with a `$props` declaration, the resulting variables will all be reactive.
39
+
40
## Fallback values
41
42
Destructuring allows us to declare fallback values, which are used if the parent component does not set a given prop (or the value is `undefined`):
0 commit comments