GoConqr hat ein neues Design! Sag uns, wie es dir gefällt.

Modul 4 von 13 · Medien

The NavLInk component

Kostas Diakogiannis

The NavLInk component

Implement the route links

As you can see above we have two routing links which change the URL to respective addresses when clicked. We use the NavLink component and the to attribute to indicate where the click of this link should get the user. The first link sends the user to the home initial  page, where the second to the /show route. 

What is going to be shown to the page under these circumstances, it is defined through every route component inside the BrowserRouter.
 

Anleitung

Um im Kurs weiterzukommen, sende einen Versuch dieses Quiz ab. Du kannst ihn nach der letzten Frage absenden.

Zum gewählten Modul

Feedback

Worum geht es?

Wie gefällt dir das neue Design?

Dein Eindruck