-
-
Notifications
You must be signed in to change notification settings - Fork 164
Open
Description
Summary
Upgrade react-native-modal-datetime-picker from 14.0.1 to 18.x. The package is several major versions behind and likely has breaking changes to its component props and event handlers.
Current → Target
| Package | Current | Latest |
|---|---|---|
react-native-modal-datetime-picker |
14.0.1 | 18.0.0 |
Why Upgrade
- Multiple major versions behind — likely missing bug fixes and platform improvements
- Better compatibility with latest
@react-native-community/datetimepicker(currently at 8.6.0) - Improved dark mode and accessibility support
Migration Steps
- Install new version:
yarn add react-native-modal-datetime-picker@latest
- Review changelog for each major version bump (15, 16, 17, 18) — check for:
- Renamed or removed props
- Changed callback signatures (e.g.,
onConfirm,onCancel) - New required props
- Search codebase for all usages:
grep -r "react-native-modal-datetime-picker" app/ --include='*.ts' --include='*.tsx' grep -r "DateTimePickerModal" app/ --include='*.ts' --include='*.tsx'
- Test on both platforms — date/time pickers behave differently on iOS vs Android
- Run
yarn cito verify
Files Likely Affected
- Any screen/component using
DateTimePickerModal - Likely in emission entry forms or date selection screens
References
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels