Restructuring the State Object
In this lesson, we'll turn our three independent components into objects and figure out a way to link them.
We'll cover the following...
In the previous lesson, we decided to make our Messages and Contacts components independent.
We now need to figure out a way to connect the two in order to know which messages belong to which user.
Here’s one way to handle this:
Access this course and 1400+ top-rated courses and projects.