| useRoutes | R Documentation |
https://api.reactrouter.com/v7/functions/react-router.useRoutes.html
useRoutes(..., routes = NULL)
... |
|
routes |
Optional. A |
Builds a route tree from Route children (or a plain object
routes array) and renders the matched route. The hook-based
equivalent of Routes / createRoutesFromElements for
code that prefers a configuration-as-data style. Must be called inside a
router (RouterProvider, HashRouter, etc.).
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.