Building the List of Users
Explore how to build the list of users displayed in a React sidebar by managing Redux state effectively. Understand importing static data, mapping contacts, and setting up the store to render user components without fetching from a server.
We'll cover the following...
We'll cover the following...
Moving on, it’s time to write some code. Firstly, here’s the goal of the following lessons. To build the list of users shown below:
What is needed to build this?
From a high level, it is kind of obvious that within the Sidebar component, there’s the need to render a list of a user’s contacts.
Presumably, within Sidebar, you may have something like this: ...