Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

React Native support is broken #39

Closed
lwansbrough opened this issue Aug 8, 2015 · 4 comments
Closed

React Native support is broken #39

lwansbrough opened this issue Aug 8, 2015 · 4 comments
Labels

Comments

@lwansbrough
Copy link

https://github.com/gaearon/react-redux/blob/7458a923769e43dc647c270a7102d55236fa3b79/src/components/createConnect.js#L149

process is not available in React Native. React Native does however have a __DEV__ global.

@gaearon
Copy link
Contributor

gaearon commented Aug 9, 2015

Please let me know if 0.7.0 fixes it.

@lwansbrough
Copy link
Author

Sorry this response is super late, but for anyone who may come across this issue: yes it fixes it! Thanks Dan.

@nkt
Copy link

nkt commented Aug 15, 2015

React native 0.10.0 fixes this problem:

process.env.NODE_ENV: This value is defined to be "production" or "development" based on your current environment. Now you can use npm packages that rely on NODE_ENV!
https://github.com/facebook/react-native/releases/tag/v0.10.0-rc

@gaearon
Copy link
Contributor

gaearon commented Aug 15, 2015

👍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants