DEV Community

Discussion on: React js Contentful starting

tarekhassan410 profile image
Tarek Hassan Author

for that you can use .env files to save your token. I was simplifying the app as best as I can.

5ervant profile image
Mark Anthony B. Dungo • Edited on

But I guess, the token that's stored on your ".env" file will become visible on your single-page React web application's script because it'll be used to fetch your Contentful space' entries?

Look at this:
That's the bundle script of:
On that bundle script, you can easily see the tokens...