File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -13,23 +13,23 @@ A minimal, yet powerful library that puts realtime Firebase data into Svelte sto
1313
1414 <p>Howdy, {user.uid}</p>
1515
16- <!-- 3. 📜 Get a Firestore document owned by a user -->
16+ <!-- 3 (a) . 📜 Get a Firestore document owned by a user -->
1717 <Doc ref={`posts/${user.uid}`} let:data={post} let:ref={postRef}>
1818
1919 <h2>{post.title}</h2>
2020
21- <!-- 4. 💬 Get all the comments in its subcollection -->
21+ <!-- 4 (a) . 💬 Get all the comments in its subcollection -->
2222 <Collection ref={postRef.path + '/comments'} let:data={comments}>
2323 {#each comments as comment}
2424
2525 {/each}
2626
27- <!-- 3. 📜 Get a Realtime Database node owned by a user -->
27+ <!-- 3 (b) . 📜 Get a Realtime Database node owned by a user -->
2828 <Node path={`posts/${user.uid}`} let:data={post} let:ref={postRef}>
2929
3030 <h2>{post.title}</h2>
3131
32- <!-- 4. 💬 Get all the comments in its subnodes -->
32+ <!-- 4 (b) . 💬 Get all the comments in its subnodes -->
3333 <NodeList path={postRef.path + '/comments'} let:data={comments}>
3434 {#each comments as comment}
3535
You can’t perform that action at this time.
0 commit comments