Updating the Message State

The SEND_MESSAGE action will now be handled in the messages reducer. This will be a simple challenge for now.

We'll cover the following...

We’re nearing the end of our task. Hang in there!

In this section, we will figure out how to update the message state to allow messages to appear in the chat window when they are submitted.

Here’s a list of all the reducers we’ve got at this point:

  • activeUserId.js
  • contacts.js
...