Skip to content

v0.3.0

Latest
Compare
Choose a tag to compare
@BeckyWu220 BeckyWu220 released this 03 Apr 20:41
· 7 commits to master since this release

Some changes in this version are to methods onLoadMore and onRefresh. If you are overwriting these two methods consider the follow updates.

// If you are using version >= 0.3
onLoadMore = ({ ...args }, onCompleteLoadMore, onLoadError) => {
    this.props.dispatch(paginationStateManager.loadMore({
	...args,
    	keyword: 'keyword'
    }, onCompleteLoadMore, onLoadError))
}

onRefresh = ({...args}, onCompleteRefreshing, onLoadError) => {
    this.props.dispatch(paginationStateManager.refresh({
        ...args,
        keyword: 'keyword'
    }, onCompleteRefreshing, onLoadError))
}