How to routing on dashboard through react router dom6? | Sololearn: Learn to code for FREE!
Novo curso! Todo programador deveria aprender IA generativa!
Experimente uma aula grƔtis
0

How to routing on dashboard through react router dom6?

14th Dec 2022, 7:16 AM
Hinal Goswami
Hinal Goswami - avatar
1 Resposta
0
This code defines a Dashboard component and an App component. The App component renders a Link to the /dashboard route and a Route that matches the /dashboard path and renders the Dashboard component. When the App component is rendered, it will render the Link and Route components, allowing the user to navigate to the /dashboard route and see the Dashboard component. https://code.sololearn.com/c97nyY7zkuE2/?ref=app
14th Dec 2022, 8:57 AM
CalviÕ²
CalviÕ² - avatar