React Native production build

React Native documentation tells you to change source code manually to switch between development and production builds.

https://facebook.github.io/react-native/docs/running-on-device.html#building-your-app-for-production

Is this the only option? Why isn't there a way that allows you to flag this and generate a production build using the same source code?

Comments

Popular posts from this blog

Meaning of `{}` for return expression

Get current scroll position of ScrollView in React Native

React Native - Image Cache