I really love the list component but I have a question.
Before react-native-elements, I used list view with RefreshControl. This worked fine, but looked ugly. I also used infinite scroll to load more content.
I felt like this only rendered the items in the viewport, to optimize performance. I have large data sets and need this behavior.
So I guess my question is singular: what's the best way to implement this functionality with the beautiful elements of this module?
Never mind. I'm an idiot, it's in the readme. I just completely missed it.
In case anyone else is ever also an idiot, and finds this issue:
render () {
return (
<List>
<ListView
renderRow={this.renderRow}
dataSource={this.state.dataSource}
/>
</List>
)
}
Most helpful comment
Never mind. I'm an idiot, it's in the readme. I just completely missed it.
In case anyone else is ever also an idiot, and finds this issue: