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

Support React v15.5+ #4

Merged
merged 1 commit into from
Jul 31, 2018
Merged

Conversation

daisaru11
Copy link
Contributor

I encountered an error:

Fatal Exception: RCTFatalException: Unhandled JS Exception: undefined is not an object (evaluating 'a.PropTypes.string')

This error seems to be same as #3 .

In React v15.5 and later, PropTypes needs to be imported from prop-types package (not react).
See:
https://reactjs.org/blog/2017/04/07/react-v15.5.0.html#migrating-from-reactproptypes

@alexnd alexnd merged commit 47bf950 into alexnd:master Jul 31, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants