Skip to content

Commit b6ade27

Browse files
committed
2 parents e0e6f7e + 4444fa1 commit b6ade27

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -215,7 +215,7 @@ You can bypass the loading state entirely by passing a `startWith` prop.
215215

216216
### Slot Props
217217

218-
[Slot props](https://svelte.dev/tutorial/slot-props) **pass data down** to children the component tree. SvelteFire has done the hard work to expose the data you will need in the UI. For example, `let:data` gives you access to the document data, while `={yourVar}` is the name you use to reference it in your code. The `data` is a plain object for showing data in the UI, while the `ref` is a Firestore `DocumentReference` used to execute writes.
218+
[Slot props](https://svelte.dev/tutorial/slot-props) **pass data down** to children in the component tree. SvelteFire exposes the data you needed for the UI and the reference to performance writes. For example, `let:data` is the document data, while `={icecream}` is the variable name you use to reference it in your code. Use `ref` to set, update, or delete the document at this path.
219219

220220

221221
```html

0 commit comments

Comments
 (0)