Open alexnaiman opened 5 years ago
Please merge this, want to get rid of the warning message.
Warning: componentWillReceiveProps is deprecated and will be removed in the next major version. Use static getDerivedStateFromProps instead.
Please update the following components: DatePicker
Learn more about this warning here: https://fb.me/react-async-component-lifecycle-hooks console.warn @ D:\React_Native\DatePickerApp\node_modules\react-native\Libraries\YellowBox\YellowBox.js:71
+1 to merge this PR
@feyy
Is it possible to make a new release including this merge request? Package hasn't received any release since April 2018 while there are a lot of open merge requests with good code.
Maybe unpopular opinion: If you don't have the time to maintain the library, please try to find someone who does.
@ramonvermeulen
@feyy If you don't have the time to maintain the library, please try to find someone who does.
I really agree with you and I will be really grateful if I can do that or at least be a part of that
This looks like a dead project without maintainer :( I think it is time to either:
@mieszko4 at our company we went to the react-native-community version as well. Way better maintained.
This looks like a dead project without maintainer :( I think it is time to either:
- look for an alternative, e.g. https://github.com/react-native-community/react-native-datetimepicker
- fork this repo and publish it under new name in npm registry
did you do it? If yes, then please share the new npm-package.
This looks like it might be a good and maintained alternative, that solves the same issue as this project originally did: wrapping the core ios and android datepicker components from react native in a nice crossplatform api: https://github.com/mmazzarolo/react-native-modal-datetime-picker
It is wrapping the extracted versions in https://github.com/react-native-community/datetimepicker/issues rather than the deprecated ones that ship with react native core that this library does.
I made this package https://www.npmjs.com/package/react-native-datepicker-yaya only to solve the warning of the componentWillReceiveProps. Everyone is welcomed to use it instead of this package.
PLEASE MERGE!
Fixed
componentWillReceiveProps
warning Issue #355