Redux ListView没有';t动作分派后重新提交内容

Redux ListView没有';t动作分派后重新提交内容,listview,react-native,redux,thunk,Listview,React Native,Redux,Thunk,我使用的redux几乎与异步reddit redux示例完全相同,使用thunk中间件仅在需要时更新状态(shouldFetch)。是否有人注意到,在网络呼叫更新存储后,React本机ListView无法捕获更改?如果我离开并返回,它看起来很好。只是在网络呼叫(来自上一个路由)之后,它才没有出现 My ListView.js constructor(props) { super(props) let dataSource = new ListView.DataSource({ s

我使用的redux几乎与异步reddit redux示例完全相同,使用thunk中间件仅在需要时更新状态(shouldFetch)。是否有人注意到,在网络呼叫更新存储后,React本机ListView无法捕获更改?如果我离开并返回,它看起来很好。只是在网络呼叫(来自上一个路由)之后,它才没有出现

My ListView.js

constructor(props) {
  super(props)
  let dataSource = new ListView.DataSource({
    sectionHeaderHasChanged: this.sectionHeaderHasChanged,
    rowHasChanged: (row1, row2) => row1 !== row2,
  });

  this.state = {
    dataSource: dataSource.cloneWithRows(this.props.books),
  }

  this.renderRow = this.renderRow.bind(this);
  this.selectBook = this.selectBook.bind(this);
}

selectBook(book) {
  this.props.selectBook(book)
}

goTo(route) {
  this.props.navigator.push({
    name: route,
  });
}
... + everything you'd expect
它似乎在正确的轨道上它似乎在正确的轨道上