Function UNSAFE_createClientRoutes
- UNSAFE_createClientRoutes(manifest, routeModulesCache, initialState, isSpaMode, parentId?, routesByParentId?, needsRevalidation?): DataRouteObject[]
Parameters
- manifest: RouteManifest<EntryRoute>
- routeModulesCache: UNSAFE_RouteModules
- initialState: null | Partial<Pick<RouterState, "loaderData" | "actionData" | "errors">>
- isSpaMode: boolean
- parentId: string = ""
- routesByParentId: Record<string, Omit<EntryRoute, "children">[]> = ...
Optional
needsRevalidation: Set<string>