Releases: tttstudios/react-native-paginatable
Releases · tttstudios/react-native-paginatable
v0.3.0
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))
}