[Chartjs]-React-Redux and Chart.js props Do not rerender

2👍

I think it’s not redux/react propblem.
In console you will propably see this error: “Cannot read property ‘length’ of undefined – core.js” .
If you delete ‘RadarChart’ component, and then change parameter “radar” to “bar” in reducer. You’ll see that ‘BarChart’ works.
Or another variant : you may add “redraw” prop to ‘RadarChart’ component.

link : https://github.com/jhudson8/react-chartjs/issues/80

Leave a comment