I have a react application hosted in Heroku. After updating some env vars in production my app is having a strange behavior:
- Some users get error Uncaught TypeError: Object(…) is not a function in their browser while others can access without trouble.
- When reverting the changes done to the env vars in heroku the users that were stuck by the error are free and the ones that were able to access get the same error.
I have tried clearing cache in user side, reverting the changes, but it seems like there is some sort of caching mechanism I’m not catching. Any suggestions?
New contributor
Felipe Kummer is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.