DEV Community

Discussion on: React Beginner Question Thread ⚛

Collapse
 
ecoffman profile image
Eric Coffman

Hello Dan.

Dan, I need to develop an application for which React would be perfect. However, the application needs to pull data from our enterprise API instance and but to do that within React, would expose the API secret. How do I use react but protect the api secret when I fetch data?

Thanks
Eric