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.
Let’s build the empty screen.
For this, we’ll need a new component called, Empty.js. While at it, also create a corresponding CSS file, Empty.css.
Please create these in the components ...