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: • How to store form data in Cloud Fires...
GitHub Repo Link: https://github.com/carmellemillar/car...