Github like Calendar Heatmap(Contribution Summary) built from Scratch using React – JSitor

image

Very cool!

Minor suggestion: instead of Array.from(new Array(n)) to get an array of n length filled with undefined, use Array.from({ length: n }).

If you also need to map over those values immediately, you can pass a callback which does this without creating an intermediate array between .from and .map:

Array.from({ length: 4 }, (value, index) => index)[0, 1, 2, 3].

Author: Shantun Parmar

4 thoughts on “Github like Calendar Heatmap(Contribution Summary) built from Scratch using React – JSitor

  1. Hello! This is kind of off topic but I need some advice from an established blog.
    Is it tough to set up your own blog? I’m not very
    techincal but I can figure things out pretty fast.

    I’m thinking about setting up my own but I’m not sure where to start.
    Do you have any ideas or suggestions? Thanks

Thanks for your support, You may click on ads to encourage us which assits to writers.

Leave a Reply

Your email address will not be published.