The Active User
For the first step of building our Empty Screen, we will create a new field in the state object called "activeUserID". This will act as a template for viewing a contact. If set to NULL (initial state), the empty screen will show our profile (Visual Representation below).
We'll cover the following
Right now, the Main component just displays the text, main stuff.
This isn’t what we want.
The end goal is to show an empty screen, but show user messages when a contact is clicked on.
Get hands-on with 1200+ tech skills courses.