Solution: Building the Profile Surface
Let’s look at the solution to the challenge.
We'll cover the following...
Below is the solution for the Profile
surface of our application. Click the “Run” button below:
import React from "react"; export const UserListContext = React.createContext(null); export const ConversationContext = React.createContext(null);
Solution
The above code defines a React component named Profile
, in which we are writing code to display a user profile screen in our Funbook app. Below is a description of the code:
...