Search⌘ K

Exercise: Delete Contact

Explore how to implement a delete contact feature in a Redux-powered React application. Understand the steps to create an action, write a reducer that immutably updates state, and dispatch the action to remove a contact's message thread. This lesson helps you manage state changes effectively while maintaining best practices in Redux.

We'll cover the following...

You must implement the “Delete Contact” feature which allows us to remove a contact’s message thread from our contact list.

In the Skypey prototype below, you can see the ‘X’ in the top right corner of each contact. The objective is to add functionality to this close button.

As we’ve ...