Closed HedgeHogBy closed 7 years ago
Any chance of this getting merged soon?
Thanks for your pull request, I'll try and have a look this weekend to merge this in and publish the package.
@ayrton we need this :D
Any merge happening soon?
Any updates on this?
This would be a great pr to merge, its the last package in my build not compatible with react 16 because of the proptypes dep. Crossing fingers.
I would really love to merge this in but as mentioned in https://github.com/ayrton/react-key-handler/issues/104#issuecomment-308878052 I wonder what needs to be done about backwards compatibility and how other libraries handle this. As soon as I know this I'm happy to release a new version supporting the latest version of React.
According to migration guide I mentioned:
The propTypes, contextTypes, and childContextTypes APIs will work exactly as before. The only change is that the built-in validators now live in a separate package.
I hope it could help somehow :)
@ayrton from what i've seen other maintainers have upgraded their projects with no compatibility issues. Example from react-measure https://github.com/souporserious/react-measure/commit/7bd868217bf24e947290c1cca703d31d6947cb7c
Your existing npm versions will work as is and all future versions will use PropTypes which has the same API as @HedgeHogBy pointed out.
Thanks, will look tonight to get this merged in and publish a new version
On 28 Aug 2017, at 17:12, lostboy notifications@github.com wrote:
@ayrton from what i've seen other maintainers have upgraded their projects with no compatibility issues. Example from react-measure souporserious/react-measure@7bd8682
Your existing npm versions will work as is and all future versions will use PropTypes which has the same API as @HedgeHogBy pointed out.
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub, or mute the thread.
PropTypes are becoming deprecated in React v16.0.0 and are hitting warnings in React v15.5.0, migration guide.