Prod vs Dev environment issue - React app

Hi,

I’m testing developing an app for Freshdesk. I have the exact same version on the app but it doesn’t behave the same in production vs development.

You can see for example Loading...

and here is the screenshot: Upload and share screenshots and images - print screen online | Snipboard.io you can see that both app don’t behave the same (the dev one works). Can you please help with some info? Note that the app is developed in React with Request functions.

Note that in rare case it works, but it’s really not frequent. Sometimes clearing the cache and refresh with dev=true works for prod app when the dev app is activated.

Thank you in advance!

It looks like you’re experiencing inconsistent behavior between the development and production environments of your Freshdesk app developed in React.

Ensure that both your development and production environments have the same configurations. Differences in API keys, endpoints, or environment-specific settings in manifest.json or requests.json can cause different behaviors.

You mentioned that clearing the cache sometimes resolves the issue. This suggests that there might be caching problems affecting your production environment. Incognito mode typically doesn’t use the existing cache, so if the app works here, it might mean cached data in the regular browser is interfering with the app’s operation.

Check for any runtime errors or warnings that only appear in production.

If the issue persists, please try logging the error. You can also DM the zip as a next step.

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.