FuYaoDe / react-native-app-intro

react-native-app-intro is a react native component implementing a parallax effect welcome page using base on react-native-swiper , similar to the one found in Google's app like Sheet, Drive, Docs...
MIT License
3.24k stars 508 forks source link

The problem of dynamically generating views #89

Open fuhaogit opened 6 years ago

fuhaogit commented 6 years ago

The new view cannot be displayed,

{data.cityArray.map((value,i)=>{ return <CityPage nav={this.props.navigator} key={i} cityName={value} tog={this._openControlPanel.bind(this)}/> })}

There are three elements in the array, but the newly added elements cannot be displayed after the render!! Please help me to check it,thank you