I’m trying to create a React app that is deployed using the Firebase Hosting feature.
However, when I deploy the app, it only displays a blank page with no React rendering.
Locally, everything works well, but once it’s deployed, there is no rendering.
Currently, the React app is the default template from “create-react-app” and I made no modifications. The Firebase configuration is the default one with the “public” property set to the “build” folder.
I tried multiple times to delete all the files and restart everything.
I tried redoing the firebase init.
I tried checking the package.json, but I didn’t see anything unusual.
Nothing worked at all. :/
Marius is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.