Even if you don't use Firebase hosting, the config object is still there (in the frontend / client-side/ web browser), just obfuscated.
Yes, and unfortunately developers add unnecessary abstractions to hide, which is sad. I hope this article will help them.
I am currently using React and Firebase and deployed my app on Vercel there is no config object in the console or what'soever.
Hi Sarvesh, Are you using Next.js or some other framework for your app? It'll be helpful if you tell that.
I am using create-react-app
Hi Sarvesh, You should try configuring your environment variables like mentioned in the docs (link) You should also set those environment variables in Vercel (link) After these steps and double-checking, it will work
Really thanks bro
You're welcome :)
Are you sure you want to hide this comment? It will become hidden in your post, but will still be visible via the comment's permalink.
Hide child comments as well
Confirm
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
Even if you don't use Firebase hosting, the config object is still there (in the frontend / client-side/ web browser), just obfuscated.
Yes, and unfortunately developers add unnecessary abstractions to hide, which is sad. I hope this article will help them.
I am currently using React and Firebase and deployed my app on Vercel there is no config object in the console or what'soever.
Hi Sarvesh,
Are you using Next.js or some other framework for your app? It'll be helpful if you tell that.
I am using create-react-app
Hi Sarvesh,
You should try configuring your environment variables like mentioned in the docs (link)
You should also set those environment variables in Vercel (link)
After these steps and double-checking, it will work
Really thanks bro
You're welcome :)