A declarative <Router>
that stores all entries in memory.
function MemoryRouter({
basename,
children,
initialEntries,
initialIndex,
}: MemoryRouterProps): React.ReactElement
Application basename
Nested Route
elements describing the route tree
Initial entries in the in-memory history stack
Index of initialEntries
the application should initialize to