stephy / CalendarPicker

CalendarPicker Component for React Native
807 stars 372 forks source link

Replace moment with date-fns #360

Closed tranjog closed 10 months ago

tranjog commented 10 months ago

I believe there are good reasons to remove the peer dependency to moment.js and replacing it with date-fns. Performance, bundle size, etc.

I have opened a PR here: https://github.com/stephy/CalendarPicker/pull/359

Feel free to test it out and review it.

peacechen commented 10 months ago

Thanks for contributing!

The alpha version has been published to npm. The main version still shows up as 7.1.4 because the 8.0.0-alpha release is tagged as alpha. You can start using the alpha version in your project. https://www.npmjs.com/package/react-native-calendar-picker?activeTab=versions

tranjog commented 10 months ago

This has now been released as version 8.0.0