Skip to content

React DayPicker 8 #942

@gpbl

Description

@gpbl

v8 will be a TypeScript rewrite and will introduce some major, needed changes.

Testing v8

Add the next version to the dependencies:

yarn add react-day-picker@next

v8 Objectives

  • Rewrite the package to follow the latest React patterns
  • Improve API and customization with custom components
  • Resolve TypeScript typing issues by rewriting it in TypeScript
  • Replace DayPickerInput with a more flexible alternative, e.g. an hook.
  • use date-fns as date utility peer dependency
  • have a browserstack functional tests
  • have a new website

Notes

  • DayPickerInput seems very popular and removing it can make difficult the upgrade.
  • Need to be React +16.8
  • Likely we will need to maintain v7 for a while

Please help 🙏🏾

With more than 1M download per month, react-day-picker needs love

It is time consuming to work alone on this project, organize the repository, write documentation, the functional tests, and the upgrade guides (not native speaker here).

Please help, talk on https://spectrum.chat/react-day-picker

I started this project five years ago as a way to contribute to the awesome React community. I've learnt a lot, I had a lot of fun, and met the best developers thanks to it.

However, after all these years, the old codebase is not much fun to maintain and after so many changes, the code is not as good as it should. Developers started filling issues on Github, and the glorious OSS experience I had so far hit me to the point I didn't want to read Github notifications anymore.

Surprisingly tho, downloads never stopped to grow and this library is still popular! People continue to send PRs, and some even wrote me that it would be sad to see this library to die. These nice messages have been highly motivational so I'm here again ❤️

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    Status

    Done

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions