Search⌘ K
AI Features

Verify: Routing

Explore how to confirm routing functionality in a React app integrated with Firebase. Understand how navigation links update page components based on the URL to enhance your app's interactivity.

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.