grubersjoe / react-activity-calendar

A flexible React component to display activity data in a calendar (heatmap).
https://grubersjoe.github.io/react-activity-calendar/
MIT License
348 stars 26 forks source link

TypeError: Cannot read properties of null (reading 'useState') #96

Closed gqiqava closed 1 month ago

gqiqava commented 4 months ago

Hi, Awesome component indeed.

image

I get this error. could not fix :'(

grubersjoe commented 3 months ago

Hey. Can you share the repo or provide some reproduction? Without any context it's impossible to say what's wrong.

gqiqava commented 3 months ago

I am using vite: @originjs/vite-plugin-federation, where I am using your component where it works perfectly fine, but when I share it in other react projects I get the error above. image could be version mismatch?

grubersjoe commented 1 month ago

Hey. Can you try again with react-activity-calendar@2.3.3 please? I think this might fix it.

grubersjoe commented 1 month ago

Closing due to inactivity