react-router 0.0.0-experimental-3d7dcee → 0.0.0-experimental-7ed11be
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +15 -2
- package/dist/development/{chunk-QMIAKNRH.mjs → chunk-2OYLVAZB.mjs} +2 -2
- package/dist/development/{chunk-S2WJDCRE.js → chunk-BELBAVMB.js} +193 -254
- package/dist/development/{chunk-WJ2QP6HN.mjs → chunk-MUVPFEOF.mjs} +154 -210
- package/dist/development/{chunk-LSB26UC6.js → chunk-X5OYM2ET.js} +137 -132
- package/dist/{production/context-DnZM5brG.d.mts → development/context-CRZ6DK7I.d.mts} +11 -1
- package/dist/development/dom-export.d.mts +1 -1
- package/dist/development/dom-export.js +3 -3
- package/dist/development/dom-export.mjs +3 -3
- package/dist/development/{index-react-server-client-zr5eNeut.d.ts → index-react-server-client-DM3R9ovf.d.ts} +39 -23
- package/dist/{production/index-react-server-client-9rHNv-U3.d.mts → development/index-react-server-client-DbUtZHNh.d.mts} +40 -24
- package/dist/development/index-react-server-client.d.mts +3 -3
- package/dist/development/index-react-server-client.d.ts +2 -2
- package/dist/development/index-react-server-client.js +4 -4
- package/dist/development/index-react-server-client.mjs +2 -2
- package/dist/development/index-react-server.d.mts +49 -2
- package/dist/development/index-react-server.d.ts +49 -2
- package/dist/development/index-react-server.js +72 -81
- package/dist/development/index-react-server.mjs +72 -82
- package/dist/development/index.d.mts +44 -6
- package/dist/development/index.d.ts +42 -4
- package/dist/development/index.js +102 -102
- package/dist/development/index.mjs +3 -3
- package/dist/development/lib/types/internal.d.mts +8 -5
- package/dist/development/lib/types/internal.d.ts +7 -4
- package/dist/development/lib/types/internal.js +1 -1
- package/dist/development/lib/types/internal.mjs +1 -1
- package/dist/development/{route-data-C24VEkoE.d.mts → route-data-gwXJPIqL.d.mts} +3 -3
- package/dist/development/{routeModules-FY5IBiA_.d.ts → routeModules-Dz64j-T-.d.ts} +12 -2
- package/dist/production/{chunk-OFC37UQM.mjs → chunk-7A6GBCQS.mjs} +2 -2
- package/dist/production/{chunk-7CWVKQLP.js → chunk-A4J35SEJ.js} +193 -254
- package/dist/production/{chunk-2BFZ6QQU.mjs → chunk-IC5TORKA.mjs} +154 -210
- package/dist/production/{chunk-NIW37A6Q.js → chunk-W6BB3ISI.js} +137 -132
- package/dist/{development/context-DnZM5brG.d.mts → production/context-CRZ6DK7I.d.mts} +11 -1
- package/dist/production/dom-export.d.mts +1 -1
- package/dist/production/dom-export.js +3 -3
- package/dist/production/dom-export.mjs +3 -3
- package/dist/production/{index-react-server-client-zr5eNeut.d.ts → index-react-server-client-DM3R9ovf.d.ts} +39 -23
- package/dist/{development/index-react-server-client-9rHNv-U3.d.mts → production/index-react-server-client-DbUtZHNh.d.mts} +40 -24
- package/dist/production/index-react-server-client.d.mts +3 -3
- package/dist/production/index-react-server-client.d.ts +2 -2
- package/dist/production/index-react-server-client.js +4 -4
- package/dist/production/index-react-server-client.mjs +2 -2
- package/dist/production/index-react-server.d.mts +49 -2
- package/dist/production/index-react-server.d.ts +49 -2
- package/dist/production/index-react-server.js +72 -81
- package/dist/production/index-react-server.mjs +72 -82
- package/dist/production/index.d.mts +44 -6
- package/dist/production/index.d.ts +42 -4
- package/dist/production/index.js +102 -102
- package/dist/production/index.mjs +3 -3
- package/dist/production/lib/types/internal.d.mts +8 -5
- package/dist/production/lib/types/internal.d.ts +7 -4
- package/dist/production/lib/types/internal.js +1 -1
- package/dist/production/lib/types/internal.mjs +1 -1
- package/dist/production/{route-data-C24VEkoE.d.mts → route-data-gwXJPIqL.d.mts} +3 -3
- package/dist/production/{routeModules-FY5IBiA_.d.ts → routeModules-Dz64j-T-.d.ts} +12 -2
- package/package.json +1 -1
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* react-router v0.0.0-experimental-
|
|
2
|
+
* react-router v0.0.0-experimental-7ed11be
|
|
3
3
|
*
|
|
4
4
|
* Copyright (c) Remix Software Inc.
|
|
5
5
|
*
|
|
@@ -31,7 +31,7 @@ import {
|
|
|
31
31
|
isSession,
|
|
32
32
|
routeRSCServerRequest,
|
|
33
33
|
setDevServerHooks
|
|
34
|
-
} from "./chunk-
|
|
34
|
+
} from "./chunk-2OYLVAZB.mjs";
|
|
35
35
|
import {
|
|
36
36
|
Action,
|
|
37
37
|
Await,
|
|
@@ -140,7 +140,7 @@ import {
|
|
|
140
140
|
withComponentProps,
|
|
141
141
|
withErrorBoundaryProps,
|
|
142
142
|
withHydrateFallbackProps
|
|
143
|
-
} from "./chunk-
|
|
143
|
+
} from "./chunk-MUVPFEOF.mjs";
|
|
144
144
|
export {
|
|
145
145
|
Await,
|
|
146
146
|
BrowserRouter,
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { R as RouteModule, L as LinkDescriptor, P as Pretty, M as MetaDescriptor, G as GetLoaderData, S as ServerDataFunctionArgs, C as ClientDataFunctionArgs, a as ServerDataFrom, N as Normalize, b as GetActionData } from '../../route-data-
|
|
2
|
-
import { L as Location, b as unstable_MiddlewareNextFunction } from '../../context-
|
|
1
|
+
import { R as RouteModule, L as LinkDescriptor, F as Func, P as Pretty, M as MetaDescriptor, G as GetLoaderData, S as ServerDataFunctionArgs, C as ClientDataFunctionArgs, a as ServerDataFrom, N as Normalize, b as GetActionData } from '../../route-data-gwXJPIqL.mjs';
|
|
2
|
+
import { L as Location, b as unstable_MiddlewareNextFunction, D as DataStrategyResult } from '../../context-CRZ6DK7I.mjs';
|
|
3
3
|
import { R as RouteFiles, P as Pages } from '../../register-DiOIlEq5.mjs';
|
|
4
4
|
import 'react';
|
|
5
5
|
|
|
@@ -29,6 +29,9 @@ type MetaMatch<T extends MatchInfo> = Pretty<{
|
|
|
29
29
|
error?: unknown;
|
|
30
30
|
}>;
|
|
31
31
|
type MetaMatches<T extends Array<MatchInfo>> = T extends [infer F extends MatchInfo, ...infer R extends Array<MatchInfo>] ? [MetaMatch<F>, ...MetaMatches<R>] : Array<MetaMatch<MatchInfo> | undefined>;
|
|
32
|
+
type HasErrorBoundary<T extends RouteInfo> = T["module"] extends {
|
|
33
|
+
ErrorBoundary: Func;
|
|
34
|
+
} ? true : false;
|
|
32
35
|
type CreateMetaArgs<T extends RouteInfo> = {
|
|
33
36
|
/** This is the current router `Location` object. This is useful for generating tags for routes at specific paths or query parameters. */
|
|
34
37
|
location: Location;
|
|
@@ -39,9 +42,9 @@ type CreateMetaArgs<T extends RouteInfo> = {
|
|
|
39
42
|
*
|
|
40
43
|
* @deprecated Use `Route.MetaArgs.loaderData` instead
|
|
41
44
|
*/
|
|
42
|
-
data: T["loaderData"] | undefined;
|
|
45
|
+
data: T["loaderData"] | (HasErrorBoundary<T> extends true ? undefined : never);
|
|
43
46
|
/** The return value for this route's server loader function */
|
|
44
|
-
loaderData: T["loaderData"] | undefined;
|
|
47
|
+
loaderData: T["loaderData"] | (HasErrorBoundary<T> extends true ? undefined : never);
|
|
45
48
|
/** Thrown errors that trigger error boundaries will be passed to the meta function. This is useful for generating metadata for error pages. */
|
|
46
49
|
error?: unknown;
|
|
47
50
|
/** An array of the current {@link https://api.reactrouter.com/v7/interfaces/react_router.UIMatch.html route matches}, including parent route matches. */
|
|
@@ -55,7 +58,7 @@ type HeadersArgs = {
|
|
|
55
58
|
errorHeaders: Headers | undefined;
|
|
56
59
|
};
|
|
57
60
|
type CreateServerMiddlewareFunction<T extends RouteInfo> = (args: ServerDataFunctionArgs<T["params"]>, next: unstable_MiddlewareNextFunction<Response>) => MaybePromise<Response | void>;
|
|
58
|
-
type CreateClientMiddlewareFunction<T extends RouteInfo> = (args: ClientDataFunctionArgs<T["params"]>, next: unstable_MiddlewareNextFunction<
|
|
61
|
+
type CreateClientMiddlewareFunction<T extends RouteInfo> = (args: ClientDataFunctionArgs<T["params"]>, next: unstable_MiddlewareNextFunction<Record<string, DataStrategyResult>>) => MaybePromise<Record<string, DataStrategyResult> | void>;
|
|
59
62
|
type CreateServerLoaderArgs<T extends RouteInfo> = ServerDataFunctionArgs<T["params"]>;
|
|
60
63
|
type CreateClientLoaderArgs<T extends RouteInfo> = ClientDataFunctionArgs<T["params"]> & {
|
|
61
64
|
/** This is an asynchronous function to get the data from the server loader for this route. On client-side navigations, this will make a {@link https://developer.mozilla.org/en-US/docs/Web/API/Fetch_API fetch} call to the React Router server loader. If you opt-into running your clientLoader on hydration, then this function will return the data that was already loaded on the server (via Promise.resolve). */
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { R as RouteModule, L as LinkDescriptor, a as Location, P as Pretty, M as MetaDescriptor, G as GetLoaderData, S as ServerDataFunctionArgs, u as unstable_MiddlewareNextFunction, C as ClientDataFunctionArgs, b as ServerDataFrom, N as Normalize, c as GetActionData } from '../../routeModules-
|
|
1
|
+
import { R as RouteModule, L as LinkDescriptor, a as Location, F as Func, P as Pretty, M as MetaDescriptor, G as GetLoaderData, S as ServerDataFunctionArgs, u as unstable_MiddlewareNextFunction, C as ClientDataFunctionArgs, D as DataStrategyResult, b as ServerDataFrom, N as Normalize, c as GetActionData } from '../../routeModules-Dz64j-T-.js';
|
|
2
2
|
import { R as RouteFiles, P as Pages } from '../../register-DiOIlEq5.js';
|
|
3
3
|
import 'react';
|
|
4
4
|
|
|
@@ -28,6 +28,9 @@ type MetaMatch<T extends MatchInfo> = Pretty<{
|
|
|
28
28
|
error?: unknown;
|
|
29
29
|
}>;
|
|
30
30
|
type MetaMatches<T extends Array<MatchInfo>> = T extends [infer F extends MatchInfo, ...infer R extends Array<MatchInfo>] ? [MetaMatch<F>, ...MetaMatches<R>] : Array<MetaMatch<MatchInfo> | undefined>;
|
|
31
|
+
type HasErrorBoundary<T extends RouteInfo> = T["module"] extends {
|
|
32
|
+
ErrorBoundary: Func;
|
|
33
|
+
} ? true : false;
|
|
31
34
|
type CreateMetaArgs<T extends RouteInfo> = {
|
|
32
35
|
/** This is the current router `Location` object. This is useful for generating tags for routes at specific paths or query parameters. */
|
|
33
36
|
location: Location;
|
|
@@ -38,9 +41,9 @@ type CreateMetaArgs<T extends RouteInfo> = {
|
|
|
38
41
|
*
|
|
39
42
|
* @deprecated Use `Route.MetaArgs.loaderData` instead
|
|
40
43
|
*/
|
|
41
|
-
data: T["loaderData"] | undefined;
|
|
44
|
+
data: T["loaderData"] | (HasErrorBoundary<T> extends true ? undefined : never);
|
|
42
45
|
/** The return value for this route's server loader function */
|
|
43
|
-
loaderData: T["loaderData"] | undefined;
|
|
46
|
+
loaderData: T["loaderData"] | (HasErrorBoundary<T> extends true ? undefined : never);
|
|
44
47
|
/** Thrown errors that trigger error boundaries will be passed to the meta function. This is useful for generating metadata for error pages. */
|
|
45
48
|
error?: unknown;
|
|
46
49
|
/** An array of the current {@link https://api.reactrouter.com/v7/interfaces/react_router.UIMatch.html route matches}, including parent route matches. */
|
|
@@ -54,7 +57,7 @@ type HeadersArgs = {
|
|
|
54
57
|
errorHeaders: Headers | undefined;
|
|
55
58
|
};
|
|
56
59
|
type CreateServerMiddlewareFunction<T extends RouteInfo> = (args: ServerDataFunctionArgs<T["params"]>, next: unstable_MiddlewareNextFunction<Response>) => MaybePromise<Response | void>;
|
|
57
|
-
type CreateClientMiddlewareFunction<T extends RouteInfo> = (args: ClientDataFunctionArgs<T["params"]>, next: unstable_MiddlewareNextFunction<
|
|
60
|
+
type CreateClientMiddlewareFunction<T extends RouteInfo> = (args: ClientDataFunctionArgs<T["params"]>, next: unstable_MiddlewareNextFunction<Record<string, DataStrategyResult>>) => MaybePromise<Record<string, DataStrategyResult> | void>;
|
|
58
61
|
type CreateServerLoaderArgs<T extends RouteInfo> = ServerDataFunctionArgs<T["params"]>;
|
|
59
62
|
type CreateClientLoaderArgs<T extends RouteInfo> = ClientDataFunctionArgs<T["params"]> & {
|
|
60
63
|
/** This is an asynchronous function to get the data from the server loader for this route. On client-side navigations, this will make a {@link https://developer.mozilla.org/en-US/docs/Web/API/Fetch_API fetch} call to the React Router server loader. If you opt-into running your clientLoader on hydration, then this function will return the data that was already loaded on the server (via Promise.resolve). */
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { ComponentType, ReactElement } from 'react';
|
|
2
|
-
import { A as ActionFunctionArgs, c as LoaderFunctionArgs, d as ActionFunction, e as LoaderFunction, P as Params, L as Location,
|
|
2
|
+
import { A as ActionFunctionArgs, c as LoaderFunctionArgs, d as ActionFunction, e as LoaderFunction, P as Params, L as Location, f as DataRouteMatch, g as unstable_MiddlewareFunction, S as ShouldRevalidateFunction, h as unstable_RouterContextProvider, i as DataWithResponseInit, M as MiddlewareEnabled } from './context-CRZ6DK7I.mjs';
|
|
3
3
|
|
|
4
4
|
/**
|
|
5
5
|
* An object of unknown type for route loaders and actions provided by the
|
|
@@ -372,7 +372,7 @@ type unstable_SerializesTo<T> = {
|
|
|
372
372
|
unstable__ReactRouter_SerializesTo: [T];
|
|
373
373
|
};
|
|
374
374
|
|
|
375
|
-
type Serialize<T> = T extends unstable_SerializesTo<infer To> ? To : T extends Serializable ? T : T extends (...args: any[]) => unknown ? undefined : T extends Promise<infer U> ? Promise<Serialize<U>> : T extends Map<infer K, infer V> ? Map<Serialize<K>, Serialize<V>> : T extends Set<infer U> ? Set<Serialize<U>> : T extends [] ? [] : T extends readonly [infer F, ...infer R] ? [Serialize<F>, ...Serialize<R>] : T extends Array<infer U> ? Array<Serialize<U>> : T extends readonly unknown[] ? readonly Serialize<T[number]>[] : T extends Record<any, any> ? {
|
|
375
|
+
type Serialize<T> = T extends unstable_SerializesTo<infer To> ? To : T extends Serializable ? T : T extends (...args: any[]) => unknown ? undefined : T extends Promise<infer U> ? Promise<Serialize<U>> : T extends Map<infer K, infer V> ? Map<Serialize<K>, Serialize<V>> : T extends ReadonlyMap<infer K, infer V> ? ReadonlyMap<Serialize<K>, Serialize<V>> : T extends Set<infer U> ? Set<Serialize<U>> : T extends ReadonlySet<infer U> ? ReadonlySet<Serialize<U>> : T extends [] ? [] : T extends readonly [infer F, ...infer R] ? [Serialize<F>, ...Serialize<R>] : T extends Array<infer U> ? Array<Serialize<U>> : T extends readonly unknown[] ? readonly Serialize<T[number]>[] : T extends Record<any, any> ? {
|
|
376
376
|
[K in keyof T]: Serialize<T[K]>;
|
|
377
377
|
} : undefined;
|
|
378
378
|
type VoidToUndefined<T> = Equal<T, void> extends true ? undefined : T;
|
|
@@ -470,4 +470,4 @@ type _DataActionData<ServerActionData, ClientActionData> = Awaited<[
|
|
|
470
470
|
IsDefined<ClientActionData>
|
|
471
471
|
] extends [true, true] ? ServerActionData | ClientActionData : IsDefined<ClientActionData> extends true ? ClientActionData : IsDefined<ServerActionData> extends true ? ServerActionData : undefined>;
|
|
472
472
|
|
|
473
|
-
export type { AppLoadContext as A, ClientDataFunctionArgs as C, Equal as E, GetLoaderData as G, HeadersFunction as H, LinkDescriptor as L, MetaDescriptor as M, Normalize as N, Pretty as P, RouteModule as R, ServerDataFunctionArgs as S, ServerDataFrom as a, GetActionData as b, RouteModules as c, SerializeFrom as d, MetaFunction as e, LinksFunction as f, ClientActionFunction as g, ClientLoaderFunction as h, ClientActionFunctionArgs as i, ClientLoaderFunctionArgs as j, HeadersArgs as k, MetaArgs as l, PageLinkDescriptor as m, HtmlLinkDescriptor as n, ServerRouteModule as o, unstable_SerializesTo as u };
|
|
473
|
+
export type { AppLoadContext as A, ClientDataFunctionArgs as C, Equal as E, Func as F, GetLoaderData as G, HeadersFunction as H, LinkDescriptor as L, MetaDescriptor as M, Normalize as N, Pretty as P, RouteModule as R, ServerDataFunctionArgs as S, ServerDataFrom as a, GetActionData as b, RouteModules as c, SerializeFrom as d, MetaFunction as e, LinksFunction as f, ClientActionFunction as g, ClientLoaderFunction as h, ClientActionFunctionArgs as i, ClientLoaderFunctionArgs as j, HeadersArgs as k, MetaArgs as l, PageLinkDescriptor as m, HtmlLinkDescriptor as n, ServerRouteModule as o, unstable_SerializesTo as u };
|
|
@@ -1162,6 +1162,16 @@ interface Router$1 {
|
|
|
1162
1162
|
* @param key
|
|
1163
1163
|
*/
|
|
1164
1164
|
getFetcher<TData = any>(key: string): Fetcher<TData>;
|
|
1165
|
+
/**
|
|
1166
|
+
* @internal
|
|
1167
|
+
* PRIVATE - DO NOT USE
|
|
1168
|
+
*
|
|
1169
|
+
* Reset the fetcher for a given key
|
|
1170
|
+
* @param key
|
|
1171
|
+
*/
|
|
1172
|
+
resetFetcher(key: string, opts?: {
|
|
1173
|
+
reason?: unknown;
|
|
1174
|
+
}): void;
|
|
1165
1175
|
/**
|
|
1166
1176
|
* @private
|
|
1167
1177
|
* PRIVATE - DO NOT USE
|
|
@@ -2702,7 +2712,7 @@ type unstable_SerializesTo<T> = {
|
|
|
2702
2712
|
unstable__ReactRouter_SerializesTo: [T];
|
|
2703
2713
|
};
|
|
2704
2714
|
|
|
2705
|
-
type Serialize<T> = T extends unstable_SerializesTo<infer To> ? To : T extends Serializable ? T : T extends (...args: any[]) => unknown ? undefined : T extends Promise<infer U> ? Promise<Serialize<U>> : T extends Map<infer K, infer V> ? Map<Serialize<K>, Serialize<V>> : T extends Set<infer U> ? Set<Serialize<U>> : T extends [] ? [] : T extends readonly [infer F, ...infer R] ? [Serialize<F>, ...Serialize<R>] : T extends Array<infer U> ? Array<Serialize<U>> : T extends readonly unknown[] ? readonly Serialize<T[number]>[] : T extends Record<any, any> ? {
|
|
2715
|
+
type Serialize<T> = T extends unstable_SerializesTo<infer To> ? To : T extends Serializable ? T : T extends (...args: any[]) => unknown ? undefined : T extends Promise<infer U> ? Promise<Serialize<U>> : T extends Map<infer K, infer V> ? Map<Serialize<K>, Serialize<V>> : T extends ReadonlyMap<infer K, infer V> ? ReadonlyMap<Serialize<K>, Serialize<V>> : T extends Set<infer U> ? Set<Serialize<U>> : T extends ReadonlySet<infer U> ? ReadonlySet<Serialize<U>> : T extends [] ? [] : T extends readonly [infer F, ...infer R] ? [Serialize<F>, ...Serialize<R>] : T extends Array<infer U> ? Array<Serialize<U>> : T extends readonly unknown[] ? readonly Serialize<T[number]>[] : T extends Record<any, any> ? {
|
|
2706
2716
|
[K in keyof T]: Serialize<T[K]>;
|
|
2707
2717
|
} : undefined;
|
|
2708
2718
|
type VoidToUndefined<T> = Equal<T, void> extends true ? undefined : T;
|
|
@@ -3007,4 +3017,4 @@ type RouteComponent = ComponentType<{}>;
|
|
|
3007
3017
|
*/
|
|
3008
3018
|
type RouteHandle = unknown;
|
|
3009
3019
|
|
|
3010
|
-
export { type
|
|
3020
|
+
export { type PatchRoutesOnNavigationFunction as $, Action as A, type BlockerFunction as B, type ClientDataFunctionArgs as C, type DataStrategyResult as D, type ErrorBoundaryType as E, type Func as F, type GetLoaderData as G, type HydrationState as H, type InitialEntry as I, type AppLoadContext as J, unstable_RouterContextProvider as K, type LinkDescriptor as L, type MetaDescriptor as M, type Normalize as N, type MiddlewareEnabled as O, type Pretty as P, type Equal as Q, type RouteModule$1 as R, type ServerDataFunctionArgs as S, type To as T, type UIMatch as U, type ClientActionFunction as V, type ClientLoaderFunction as W, type HeadersFunction as X, type ShouldRevalidateFunction as Y, type RouterInit as Z, type RouterState as _, type Location as a, Router as a$, type DataRouteObject as a0, type StaticHandler as a1, type GetScrollPositionFunction as a2, type GetScrollRestorationKeyFunction as a3, type StaticHandlerContext as a4, type Fetcher as a5, type NavigationStates as a6, type RouterSubscriber as a7, type RouterNavigateOptions as a8, type RouterFetchOptions as a9, matchRoutes as aA, redirect as aB, redirectDocument as aC, replace as aD, resolvePath as aE, type DataRouteMatch as aF, type Navigator as aG, type PatchRoutesOnNavigationFunctionArgs as aH, type RouteMatch as aI, type AwaitProps as aJ, type IndexRouteProps as aK, type unstable_ClientOnErrorFunction as aL, type LayoutRouteProps as aM, type MemoryRouterOpts as aN, type MemoryRouterProps as aO, type NavigateProps as aP, type OutletProps as aQ, type PathRouteProps as aR, type RouteProps as aS, type RouterProps as aT, type RouterProviderProps as aU, type RoutesProps as aV, Await as aW, MemoryRouter as aX, Navigate as aY, Outlet as aZ, Route as a_, type RevalidationState as aa, type ActionFunctionArgs as ab, type DataStrategyFunctionArgs as ac, type DataStrategyMatch as ad, DataWithResponseInit as ae, type ErrorResponse as af, type FormEncType as ag, type FormMethod as ah, type HTMLFormMethod as ai, type LazyRouteFunction as aj, type LoaderFunctionArgs as ak, type unstable_MiddlewareFunction as al, type PathParam as am, type RedirectFunction as an, type unstable_RouterContext as ao, type ShouldRevalidateFunctionArgs as ap, unstable_createContext as aq, createPath as ar, parsePath as as, IDLE_NAVIGATION as at, IDLE_FETCHER as au, IDLE_BLOCKER as av, data as aw, generatePath as ax, isRouteErrorResponse as ay, matchPath as az, type ServerDataFrom as b, RouterProvider as b0, Routes as b1, createMemoryRouter as b2, createRoutesFromChildren as b3, createRoutesFromElements as b4, renderMatches as b5, type ClientActionFunctionArgs as b6, type ClientLoaderFunctionArgs as b7, type HeadersArgs as b8, type MetaArgs as b9, type FutureConfig as bA, type CreateStaticHandlerOptions as bB, type PageLinkDescriptor as ba, type HtmlLinkDescriptor as bb, type Future as bc, type unstable_SerializesTo as bd, createBrowserHistory as be, invariant as bf, createRouter as bg, ErrorResponseImpl as bh, DataRouterContext as bi, DataRouterStateContext as bj, FetchersContext as bk, LocationContext as bl, NavigationContext as bm, RouteContext as bn, ViewTransitionContext as bo, hydrationRouteProperties as bp, mapRouteProperties as bq, WithComponentProps as br, withComponentProps as bs, WithHydrateFallbackProps as bt, withHydrateFallbackProps as bu, WithErrorBoundaryProps as bv, withErrorBoundaryProps as bw, type RouteManifest as bx, type ServerRouteModule as by, type History as bz, type GetActionData as c, type Router$1 as d, type RouteModules as e, type DataStrategyFunction as f, type NavigateOptions as g, type Blocker as h, type SerializeFrom as i, type RelativeRoutingType as j, type ParamParseKey as k, type Path as l, type PathPattern as m, type PathMatch as n, type Navigation as o, type Params as p, type RouteObject as q, type IndexRouteObject as r, type RouteComponentType as s, type HydrateFallbackType as t, type unstable_MiddlewareNextFunction as u, type LoaderFunction as v, type ActionFunction as w, type MetaFunction as x, type LinksFunction as y, type NonIndexRouteObject as z };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* react-router v0.0.0-experimental-
|
|
2
|
+
* react-router v0.0.0-experimental-7ed11be
|
|
3
3
|
*
|
|
4
4
|
* Copyright (c) Remix Software Inc.
|
|
5
5
|
*
|
|
@@ -58,7 +58,7 @@ import {
|
|
|
58
58
|
withComponentProps,
|
|
59
59
|
withErrorBoundaryProps,
|
|
60
60
|
withHydrateFallbackProps
|
|
61
|
-
} from "./chunk-
|
|
61
|
+
} from "./chunk-IC5TORKA.mjs";
|
|
62
62
|
|
|
63
63
|
// lib/dom/ssr/server.tsx
|
|
64
64
|
import * as React from "react";
|