Notice: This page requires JavaScript to function properly.
Please enable JavaScript in your browser settings or update your browser.
Apprendre Introduction to React Router | React Router
Introduction to React
course content

Contenu du cours

Introduction to React

Introduction to React

1. Getting Started: ES6
2. Getting Started: JSX
3. React in Practice
4. React Components
5. Controlling Data & Content
6. Hooks
7. React Router

book
Introduction to React Router

React Router is a tool that helps us easily set up different URL routes and link components/pages to them in our React application. To install react-router we cd into the project directory and install the react-router-dom package:

Following is an example of a simple application made in React Router: example.

You can see how different components are rendered based on different URLs:

carousel-imgcarousel-imgcarousel-img
What is the React Router used for?

What is the React Router used for?

Sélectionnez la réponse correcte

Tout était clair ?

Comment pouvons-nous l'améliorer ?

Merci pour vos commentaires !

Section 7. Chapitre 1
We're sorry to hear that something went wrong. What happened?
some-alt