Now I check by using 'componentWillRecieveProps' to check 'nextProps' of Redux state is it finish or not.
like this example,
if (!nextProps.a.update && !nextProps.a.error &&
nextProps.a.update !== this.props.a.update) {
const oldData = [...this.props.a.data];
const newData = [...nextProps.a.data];
.
.
.
});
}
}
Did anyone have another good idea to check it?
Thanks.