Router & Routes

BrowserRouter commonly renamed as Router is the Provider we wrap our app with to have access to a shared context.

Route components allow us dynamically render it’s children component if the path is being used or not (pattern matching), if it is not, it returns null.

Copyright 2023 © Borja Leiva

Made within London