mirror of
https://github.com/status-im/react-native.git
synced 2025-02-08 15:45:23 +00:00
Summary: There are many libraries that use `NODE_ENV` to check whether the code is running in "production" mode or not. This allows those library authors to not have to add conditionals for React Native. One such library is Redux: https://github.com/gaearon/react-redux/pull/40 Thanks to @brentvatne for providing the solution via this tweet (via his phone in the airport 😉): https://twitter.com/notbrent/status/630440250951749632 /cc @vjeux @gaearon @zpao @amasad Closes https://github.com/facebook/react-native/pull/2279 Github Author: Dave Sibiski <dsibiski@gmail.com>