I am using Class components in React and recharts library for showing recharts. I get data from parent component, format it in the child and everything works fine:
The problem is when I am resizing window, labels disappear:
I read that it is a problem with animation and I can fix it by just changing isAnimationActive={false} but what if I would like to leave the animation and fix this? I tried changing component to functional one, add React.memo, even added data={[name:'test', value: 1]} as a static data value but also didn't work. Any solutions?
By the way I cannot understand why this issue was found on 2017 and still not fixed... what is wrong with the authors.

