File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change 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 )
2
2
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!
4
4
5
5
⚛ + 🔥 = 🌯
6
6
@@ -142,7 +142,7 @@ npm install --save firebase reactfire
142
142
.doc (' burrito' );
143
143
144
144
// subscribe to the doc. just one line!
145
- const burrito = useFirestoreDocData (burritoRef);
145
+ const { data : burrito } = useFirestoreDocData (burritoRef);
146
146
147
147
// get the value from the doc
148
148
const isYummy = burrito .yummy ;
You can’t perform that action at this time.
0 commit comments