View source: R/RouterProvider.R
| createMemoryRouter | R Documentation |
https://api.reactrouter.com/v7/functions/react-router.createMemoryRouter.html
createMemoryRouter(...)
... |
|
Creates a memory router using the data router API. Routing state is kept
in memory and the browser URL is never read or modified, making it suitable
for static HTML pages (file://), Quarto documents, and embedded
widgets where the real URL is irrelevant.
Use with createRoutesFromElements and Route.
A createMemoryRouter component.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.