Jul 6th Improved Import management and updates to Mock Environment.
Amazing job team, we are making progress. Let's overview the exciting changes we've made! π
Improved Import Management in src/App.js
We've made alterations to the imports for critical items like appConfig, ./locales, isEmpty, load, boot, update, mockServer, and Sentry. These tweaks will permit our code to work more smoothly! π
Rationalization of the Sentry Initialization Condition
Prior, we only initiated Sentry when environment !== "development". We've now made that smarter and hence, improved our error tracking capabilities. A step towards robustness! πͺ
Update to Mock Environment Check
Earlier, we were checking for two conditions- if the environment !== "production" and if appConfig.enableMock was turned on. Simplifying, we now just verify whether environment !== "production". This makes our mock data usage more uncomplicated and efficient. Keep up the Good Work! π₯³π
Every PR is a step forward. Let's keep it up! π