I was surprised to read that for example console.logs are not automatically removed by Expo in the production version. Does this mean my final bundled app contains print statements?
https://docs.expo.io/versions/latest/react-native/performance
XCode essentially performs a full optimization and minification of the code base when publishing. This includes removing all the console logs, minification and any other kind of optimizations.
Can I get clarification on what is happening?
- Do I really have to install another module to clean up my JS code?
- Should I do a JS minification?
- Are code comments removed?