Skip to content

Tag: google-cloud-firestore

Showing a forEach in HTML Element

Im fetching a group of documents in a forEach from Firestore, I know im fetching this all as I can see documents and is fields in the console. But when I add the id to the field fetched it only shows one document. (it should be 5 tiles and images but I can only see one) From reading I know

How to fix a this react filter?

I have created a database in firebase and I have fetch it in react, that is working correctly, but I want to include a search bar to filter the elements, my problem is that when I search for an element everything works but when I delete the text from the search input the elements do not appear again. Answer Y…