g1eb / reactjs-calendar-heatmap

React component for d3.js calendar heatmap graph
https://rawgit.com/g1eb/reactjs-calendar-heatmap/master/
MIT License
151 stars 35 forks source link

Package size is too large #41

Open wang1212 opened 1 year ago

wang1212 commented 1 year ago

The current package depends on d3 and moment, both of which are very large. Can moment be replaced by dayjs?

g1eb commented 1 year ago

Absolutely! Would you mind trying it out in a forked repo and sending me a link to test it?

I have not worked on this in a while but can help debugging or testing if any issues come up after the switch.

wang1212 commented 1 year ago

Thank you for your reply.

I can get this done, but only when I have spare time.