Is there any example for fetching firestore data with swr #2614
Unanswered
thanhtutzaw
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I was fetching firestore data with useEffect in React and I want to implement swr with typescript . But I got data is undefined and cannot destructure .
Uncaught TypeError: Cannot destructure property 'labels' of 'useFirestoreData(...)' as it is undefined.
Beta Was this translation helpful? Give feedback.
All reactions