violet-paginator icon indicating copy to clipboard operation
violet-paginator copied to clipboard

React v16 and PropTypes

Open andresrl opened this issue 7 years ago • 1 comments

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!

andresrl avatar Nov 13 '17 18:11 andresrl

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.

sslotsky avatar Nov 13 '17 18:11 sslotsky