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.
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
- Confirm your source code for this section.
- Learn more about React Router.