% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/RouterProvider.R
\name{createMemoryRouter}
\alias{createMemoryRouter}
\title{createMemoryRouter}
\usage{
createMemoryRouter(...)
}
\arguments{
\item{...}{\code{\link{Route}} elements. Pass directly, or (optionally)
wrapped in \code{\link{createRoutesFromElements}} to mirror the
official React Router v7 API.}
}
\value{
A createMemoryRouter component.
}
\description{
\url{https://api.reactrouter.com/v7/functions/react-router.createMemoryRouter.html}
}
\details{
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 (\code{file://}), Quarto documents, and embedded
widgets where the real URL is irrelevant.
Use with \code{\link{createRoutesFromElements}} and \code{\link{Route}}.
}
