Search⌘ K
AI Features

The Chats Component

Explore how to build the Chats component by connecting conversation data from Redux state, creating reducers with default parameters, and combining them to manage messages for each user contact effectively.

We'll cover the following...

Let’s move on to building the <Chats /> component.

widget

The component is essentially a rendered list of a user’s conversations.

So, where do we get these conversations from?

Yeah, from the state of the application.

Like I explained earlier, a real world app will fetch the user conversations from a server. However, my approach to learning Redux is that ...