Open webeautiful opened 6 years ago
https://github.com/somonus/react-native-echarts/blob/eeeaead411f01907be5ee2d033c11366e4c2b127/src/components/Echarts/index.js#L8
because object cant compare, you can so if (JSON.stringify(this.props.option) !== JSON.stringify(nextProps.option)) {
https://github.com/somonus/react-native-echarts/blob/eeeaead411f01907be5ee2d033c11366e4c2b127/src/components/Echarts/index.js#L8