List View
Some implementation-specific details of ListView: A minimal implementation requires you to create a ListView.DataSource, populate it with a simple array of data blobs, and instantiate your ListView component with said DataSource. It also requires you to define a renderRow
callback, which will take individual blobs from your DataSource array, and return them as renderable components.
Note: We are using Immutables for app state management (i.e. pokemon.get('all')
and pokemon.set('all', payload)
) and for creating the ListView.DataSource
Complete the Pokedex container component. We'll also do some housekeeping. Don't forget to:
Define your styles
Connect to the Redux store
Map your state/dispatchers to props
We'll define
renderRow
in the next section
Last updated