December 2019
Intermediate to advanced
598 pages
12h 21m
English
We're going to work on the Header component a little more so that it eventually looks as follows:
So, the Header component will contain the app name, which will be Q & A, a search input, and a Sign In link.
With the app still running, carry out the following steps to modify the Header component:
export const Header = () => ( <div> <a href="./">Q & A</a> </div>);
Notice that the implicit return statement containing the JSX is now in parentheses.
Read now
Unlock full access