C
C
Coder3212018-05-28 16:53:25
Mobile development
Coder321, 2018-05-28 16:53:25

Differences of lists and problems in use?

There are a few questions about the use of lists:
1. The doc says that FlatList is an improved list with increased performance, but I noticed that the old ListView works much better with the same data, is it supposed to?
2. I'm trying to use SectionList and there was a problem, if you do not set ListHeaderComponent then the list rendering is normal, but if you add this component, then there is a noticeable slowdown, what could be the problem?
3. What lists do you use for a large amount of data (in my case, this is a list of contacts with up to 10,000 contacts)?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
D
Dmitry Alekseev, 2018-10-18
@Zatmil

For large simple lists, only FlatList should be used, or SectionList for grouped lists with group headings. I think that your problem, after all, lies in the incorrect description of the component itself, which uses FlatLIst.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question