You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Updating to the latest expo (v51.0.4) updated react-native to 0.74.1 and now opening my app using this package throws the following warning:
ERROR Warning: Unknown: Support for defaultProps will be removed from memo components in a future major release. Use JavaScript default parameters instead.
in RCTView (created by View)
in View (created by MemoTimeInput)
Tracked it down to my component MemoTimeInput which renders this package like so:
Environment
Platforms
Only tested Android
Versions
Description
Updating to the latest expo (v51.0.4) updated react-native to 0.74.1 and now opening my app using this package throws the following warning:
Tracked it down to my component
MemoTimeInput
which renders this package like so:Looking at source code I see the following:
react-native-modal-datetime-picker/src/DateTimePickerModal.android.js
Line 75 in 56cc719
Commenting those defaultProps out fixes the issue.
The text was updated successfully, but these errors were encountered: