[ad_1]
Adding componentWillReceiveProps solve the problem:
componentWillReceiveProps(newProps) {
this.setState({
dataSource: this.state.dataSource.cloneWithRows(newProps.data),
});
}
[ad_2]
solved ReactJS listView to React Native ListvIew
[ad_1]
Adding componentWillReceiveProps solve the problem:
componentWillReceiveProps(newProps) {
this.setState({
dataSource: this.state.dataSource.cloneWithRows(newProps.data),
});
}
[ad_2]
solved ReactJS listView to React Native ListvIew