Skip to content

Commit 01a5077

Browse files
authored
Update readme for concurrent rendering (#392)
1 parent 43db3df commit 01a5077

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

docs/quickstart-concurrent-mode.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
# Getting Started with ReactFire + React [Concurrent Mode](https://reactjs.org/docs/concurrent-mode-intro.html)
1+
# Getting Started with ReactFire + React [concurrent rendering](https://reactjs.org/docs/concurrent-mode-intro.html)
22

3-
> ⚠️ This quickstart relies on ReactFire's concurrent mode features. We'd love PRs that add samples that work with stable builds of React!
3+
> ⚠️ This quickstart relies on ReactFire's concurrent rendering features. We'd love PRs that add samples that work with stable builds of React!
44
55
⚛ + 🔥 = 🌯
66

@@ -142,7 +142,7 @@ npm install --save firebase reactfire
142142
.doc('burrito');
143143

144144
// subscribe to the doc. just one line!
145-
const burrito = useFirestoreDocData(burritoRef);
145+
const { data: burrito } = useFirestoreDocData(burritoRef);
146146

147147
// get the value from the doc
148148
const isYummy = burrito.yummy;

0 commit comments

Comments
 (0)