Back to Browse

How to get data in Cloud Firestore with React | Part 8 ReactJS Tutorial Series with Full App

18.9K views
Apr 25, 2021
6:01

Let's continue what we built in Part 7 by fetching our survey data from the Cloud Firestore database. We will get the data with the useEffect React hook. After that, we'll use Firebase Firestore's library functions, specifically onSnapshot(), to store data in a local variable. After storing that variable to the component's state with the useState() hook, we can map over the results and display them one by one. Level: Intermediate / Advanced Part 7: https://youtu.be/9keBDA_FLzs GitHub Repo Link: https://github.com/carmellemillar/carmelle-codes-react-app

Download

0 formats

No download links available.

How to get data in Cloud Firestore with React | Part 8 ReactJS Tutorial Series with Full App | NatokHD