Initialization options for createRouter

interface RouterInit {
    basename?: string;
    dataStrategy?: DataStrategyFunction;
    future?: Partial<FutureConfig>;
    history: History;
    hydrationData?: Partial<Pick<RouterState, "loaderData" | "actionData" | "errors">>;
    mapRouteProperties?: MapRoutePropertiesFunction;
    patchRoutesOnNavigation?: AgnosticPatchRoutesOnNavigationFunction;
    routes: AgnosticRouteObject[];
    window?: Window;
}

Properties

basename?: string
dataStrategy?: DataStrategyFunction
future?: Partial<FutureConfig>
history: History
hydrationData?: Partial<Pick<RouterState, "loaderData" | "actionData" | "errors">>
mapRouteProperties?: MapRoutePropertiesFunction
patchRoutesOnNavigation?: AgnosticPatchRoutesOnNavigationFunction
routes: AgnosticRouteObject[]
window?: Window