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 v16 and PropTypes #32

Open
andresrl opened this issue Nov 13, 2017 · 1 comment
Open

React v16 and PropTypes #32

andresrl opened this issue Nov 13, 2017 · 1 comment

Comments

@andresrl
Copy link

Hello!
I really appreciate this powerful paginator.

But, for when a version for React v16?

I've tried it in v16, and having problems because React.PropTypes is being used, and now React no longer exports PropTypes, it needs to be imported from 'prop-types'

Thanks again for your great package!

@sslotsky
Copy link
Owner

Ha, good question! I actually have a new version of this library here, which has converted to using prop-types. I've been meaning to deprecate this library but don't want to do that until I've finished the documentation for paginate-this, which I've admittedly procrastinated on quite a bit. Nonetheless, I'd suggest using that library instead since I don't plan to support this one further.

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

2 participants