我假设包在使用VirtualList时调用setState,但这应该不会在componentDidMount内部引起问题,对吧?This usually means you called setState() on an unmounted component. This is a no-op.Please check the code for the vlist component.
componentDidMount = () => { this.MyVirtualLi
ComponentDidMount()将首次从API中启动数据。我查看了文档,发现如果添加了新的数据,componentDiUpdate()总是会重新呈现页面。this.props.getAllData() //method that is using GET_ALL_DATA actions/reducers using fetch(get)}componentDidMount= this.props.data) {
this.setS