Skip to content

Commit da685f5

Browse files
authored
Update documentation/docs/02-template-syntax/02-basic-markup.md
1 parent 1e9d8da commit da685f5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

documentation/docs/02-template-syntax/02-basic-markup.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ An element or component can have multiple spread attributes, interspersed with r
8585
<Widget {...things} />
8686
```
8787

88-
`$$props` references all props that are passed to a component, including ones that are not declared with `export`. Usage of `$props` will not perform as well as references to a specific prop because changes to any prop will cause Svelte to recheck all usages `$$props`. But it can be useful in some cases – for example, when you don't know at compile time what props might be passed to a component.
88+
`$$props` references all props that are passed to a component, including ones that are not declared with `export`. Using `$$props` will not perform as well as references to a specific prop because changes to any prop will cause Svelte to recheck all usages of `$$props`. But it can be useful in some cases – for example, when you don't know at compile time what props might be passed to a component.
8989

9090
```svelte
9191
<Widget {...$$props} />

0 commit comments

Comments
 (0)