DEV Community

Discussion on: Firebase React CRUD tutorial. How to use Firebase Firestore with ReactJS.

Collapse
 
rolu315 profile image
Robert

I came across an error stating data.map was no longer a function while working through this today. I guess the correct syntax is setSpells(data.docs.map..., not setSpells(data.map... Is this because they changed how mapping is passed? Thanks!

Collapse
 
rolu315 profile image
Robert

actually, i missed that part of the video for some reason and you corrected that, my apologies! Great video!