There's more...

So far, we have learned how to create simple routes in our project, but in the next recipe, we will learn how to include parameters within our routes, how to add nested routes, and how to navigate through our site using the <Link> component.

Get React Cookbook now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.