It happens because your variables
(这是因为您的变量)
const {data, isFetching} = this.props.data;
are inside render, put them out of the render inside state on fetched data and your problem will be solved,
(在渲染内部,将它们从获取的数据的渲染内部状态中移除,您的问题将得到解决,)
*setState data inside componentDidMount
(* componentStateDidMount中的setState数据)
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…