createMemoryRouter
function createMemoryRouter(routes: RouteObject[], opts?: {
basename?: string;
hydrationData?: HydrationState;
initialEntries?: InitialEntry[];
initialIndex?: number;
}): RemixRouter;§
createMemoryRouter(routes: RouteObject[], opts?: {
[src]basename?: string;
hydrationData?: HydrationState;
initialEntries?: InitialEntry[];
initialIndex?: number;
}): RemixRouter§Parameters
§
routes: RouteObject[]
[src]§
opts?: {
[src]basename?: string;
hydrationData?: HydrationState;
initialEntries?: InitialEntry[];
initialIndex?: number;
} optional