1

I am creating application which use a calendar and tried several react-date time pickers such as react-jqueryui-datepicker , react-date-picker-cs issue is those libraries use different old react versions and they give react older version errors, my application is created from react creat-app skeleton what are the options that i can try to solve this

Heshan
  • 772
  • 8
  • 22
  • [`react-datepicker` has React 16 as a `peerDependency`](https://github.com/Hacker0x01/react-datepicker/blob/93c46ed1c0ced5d110ea8d80efc0df9ef8764e13/package.json#L87). That should work fine. – Tholle Jul 17 '18 at 11:40
  • yes found that , have to edit my question , earlier i was tried react-jquery-datepicker, any idea on using those packages – Heshan Jul 17 '18 at 11:48
  • 1
    Haven't used any of those, so not sure. Have you tried `react-datepicker`? It might suit your needs. – Tholle Jul 17 '18 at 11:49
  • 1
    i started using it and it loads fine ,will try to do the requirement from that one, thanks – Heshan Jul 17 '18 at 11:52
  • 1
    yes it worked @Tholle – Heshan Aug 01 '18 at 10:03

1 Answers1

1

react-datepicker has React 16 as a peerDependency which should work fine for your needs.

Tholle
  • 108,070
  • 19
  • 198
  • 189