react-calendar-heatmap icon indicating copy to clipboard operation
react-calendar-heatmap copied to clipboard

Add React 17 to the compatibility list

Open kirianguiller opened this issue 2 years ago • 2 comments

Hello, thanks a lot for your amazing library :)

My team and me are using react 17, but atm, for this library, only react 16 is "supported". So when doing npm install, we get an incompatibility error that can be fixed with adding the parameter --legacy-peer-deps.

As we saw no problem in the library, maybe after checking, we could add React 17 to the versions of react that are supported by react-calendar-heatmap ?

Thanks a lot !

kirianguiller avatar Apr 12 '22 19:04 kirianguiller

I created a forked version of it. I plan to maintain this package you can use this https://www.npmjs.com/package/@shankarmorwal/react-calendar-heatmap

morwalz avatar Jun 22 '22 06:06 morwalz

Sorry this is ultra late; I've added React 17 and 18 to the peerDependencies in v1.9.0. Let me know if there's still an issue.

kevinsqi avatar Jun 27 '22 06:06 kevinsqi