I have an environment variable that I need to access inside my render method. Since its a custom ENV variable, I cannot use (process.env.NODE_ENV) I have read that React sanitises all process.env access (http://ift.tt/2hewc1b) How to access my custom environment variable (CLUSTER_ENV) inside React web app?
Aucun commentaire:
Enregistrer un commentaire