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

TypeError:undefined is not an object(evaluating 'new _reactNativeViewpage2.default.DataSoure') #178

Open
getnative opened this issue May 4, 2018 · 5 comments

Comments

@getnative
Copy link

"react": "16.2.0",
"react-native": "0.54.2",
macOS:10.13.4
Xcode:9

my code:
var dataSourceBanners = new ViewPager.DataSource({
pageHasChanged: (p1, p2) => p1 !== p2,
});

error message:
TypeError:undefined is not an object(evaluating 'new _reactNativeViewpage2.default.DataSoure')

@xihangbin
Copy link

你解决吗?我也遇到这样的问题了

@dongqizhen
Copy link

this plugin had out date ,react 16.x not support React.PropTypes ,changed it to import "PropTypes" from "prop-types"

@WhoJave
Copy link

WhoJave commented Aug 13, 2018

@dongqizhen it seems not working ! I have already import PropTypes ,but still this problem

@HS3
Copy link

HS3 commented Sep 8, 2018

听说是:这个组建已经过期了,很多api已经更新了,如果想继续用,那就等作者更新最新版本,rn项目中PropType的问题。等不了的朋友可以换 react native swiper

@cnrsbtogll
Copy link

I have a similar problem
Screenshot_1572942605

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

6 participants