DEV Community

Discussion on: Firebase as simple database to React app

Collapse
nsebhastian profile image
Nathan Sebhastian Author • Edited on

Hello Robert, sorry for late reply. I don't know what's wrong by simply looking at your code. There may be several causes for it. I recommend you try these suggestions:
Does the catch call ever run when you do it?
Or maybe you had the wrong credentials for production environment?

If you don't have any React error in the console, most likely something is wrong in the process of saving your data to Firebase.

Hope this helps!