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

undefined is not an object (evaluating '_react2.PropTypes.bool') #8

Open
HMY314 opened this issue Apr 26, 2018 · 0 comments
Open

undefined is not an object (evaluating '_react2.PropTypes.bool') #8

HMY314 opened this issue Apr 26, 2018 · 0 comments

Comments

@HMY314
Copy link

HMY314 commented Apr 26, 2018

我的版本:
"react": "16.3.1",
"react-native": "0.55.2",
1、引入你的包,报错
image

问题原因是: poooi/poi#1427
2、然后我把你的项目copy出来,将PropTypes 重新引入,又报错:
Invariant Violation: Native component for "RCTRefreshHeader" does not exist

image

刚接触RN,不知如何解决。
可以出个支持PropTypes新的导入方式的版本吗,谢谢!

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

No branches or pull requests

1 participant