You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe/explain the bug
pie chart with forwardLegendData 'Maximum update depth exceeded'
i got flooding with Warning: Maximum update depth exceeded. This can happen when a component calls setState inside useEffect, but useEffect either doesn't have a dependency array, or one of the dependencies changes on every render. message
this interferes with other logic on the page, such as going through the menu to another route
my code is based on the story from the storybook
Thanks for using nivo
you do a great job, i like your library
Describe/explain the bug
pie chart with forwardLegendData 'Maximum update depth exceeded'
i got flooding with
Warning: Maximum update depth exceeded. This can happen when a component calls setState inside useEffect, but useEffect either doesn't have a dependency array, or one of the dependencies changes on every render.
messagethis interferes with other logic on the page, such as going through the menu to another route
my code is based on the story from the storybook
To Reproduce
nextjs 14, client component
Steps to reproduce the behavior:
just render component
Expected behavior
absence of this effect
Screenshots
Desktop (please complete the following information):
Additional context
react devtools screen
I looked at the code, found a place where forwardLegendData is used, I think there is a bug somewhere
The text was updated successfully, but these errors were encountered: