Mark As Completed Discussion

Try this exercise. Fill in the missing part by typing it in.

To create routes in React Router, you need to:

  1. Import the necessary components from the react-router-dom package, such as ____________, Route, and Link.

  2. Wrap your application component with the ____________ component. This component provides the routing functionality for your application.

  3. Define routes using the ____________ component. Each Route component specifies a path and the component to render when that path matches the current URL.

Write the missing line below.