Sorting and filtering lists

Now that you have the basics of ListView components, and passing them DataSource instances, let's add some controls to the list you just implemented. The ListView component itself helps you render fixed-position content for list controls. You'll also see how to manipulate the data source itself, which ultimately drives what's rendered on the screen.

Before we jump into implementing list control components, it might be helpful if we go over the high-level structure of these components so that the code has more context. Here's an illustration of the component structure that we're going to implement:

Sorting and filtering lists

Here's what each of ...

Get React and React Native now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.