Closed xinyifly closed 2 years ago
<React.StrictMode /> mount and unmount Component twice in development mode.
<React.StrictMode />
This would cause this.chart.updateData to be called on a destroyed chart, cause No data to be shown.
this.chart.updateData
No data
Thanks @xinyifly!
<React.StrictMode />
mount and unmount Component twice in development mode.This would cause
this.chart.updateData
to be called on a destroyed chart, causeNo data
to be shown.