Verify: Routing

In this section, you can run and verify the app we have built until now.

We'll cover the following

Project

import React from 'react';

const Account = () => (
  <div>
    <h1>Account</h1>
  </div>
);

export default Account;

When you run the application and click through the links in the Navigation component, the displayed page component should change according to the URL.

Exercise

  1. Confirm your source code for this section.
  2. Learn more about React Router.