Skip to content

Commit 628f3aa

Browse files
author
Tk2217
committed
_
1 parent 7a5df07 commit 628f3aa

File tree

2 files changed

+2
-4
lines changed

2 files changed

+2
-4
lines changed

.gitignore

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,6 @@
22
node_modules
33
yarn.lock
44
package-lock.json
5-
index.js
6-
index.mjs
75
dist/
86
firebase-debug.log
97
firestore-debug.log

README.md

Lines changed: 2 additions & 2 deletions
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. [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
@@ -508,4 +508,4 @@ Slot Props & Events:
508508
</div>
509509

510510
</Upload>
511-
```
511+
```

0 commit comments

Comments
 (0)