...

/

Displaying a List of Pilots

Displaying a List of Pilots

We'll cover the following...

Now that we have pilots added to the store, we can update our <Pilots> and <PilotsList> components to display them. Since we already had <Pilots> acting as a container component, all we really need to do is connect it to the store, return an array of plain JS pilot objects as a prop, and switch from using the sample entry we had stored in its state to the array from props.

To do this, we’re going to import the singleton Redux-ORM ORM instance we created. In our ...