79393388

Date: 2025-01-28 10:04:49
Score: 0.5
Natty:
Report link

Looks like there's no option for having two month pickers anymore since v1.0.0: https://github.com/hypeserver/react-date-range/blob/master/src/components/Calendar/index.js#L204

You can lock the old version in your package.json if you want to. It'll look like that:

"react-date-range": "0.9.4"

The best way to do that is via the package manager:

npm uninstall react-date-range
npm install [email protected]

Same goes for yarn remove/yarn add for other package managers, etc.

It's 8 years old and won't be updated, but if it doesn't contain serious bugs and works for you, then why not?

Reasons:
  • Has code block (-0.5):
  • Ends in question mark (2):
  • High reputation (-1):
Posted by: Smileek