@remix-run/react
Advanced tools
Comparing version 0.0.0-experimental-4c9b53a0 to 0.0.0-experimental-4de2f9cd
/** | ||
* @remix-run/react v0.0.0-experimental-4c9b53a0 | ||
* @remix-run/react v0.0.0-experimental-4de2f9cd | ||
* | ||
@@ -4,0 +4,0 @@ * Copyright (c) Remix Software Inc. |
/** | ||
* @remix-run/react v0.0.0-experimental-4c9b53a0 | ||
* @remix-run/react v0.0.0-experimental-4de2f9cd | ||
* | ||
@@ -4,0 +4,0 @@ * Copyright (c) Remix Software Inc. |
@@ -173,2 +173,3 @@ import type { Action, Location } from "history"; | ||
export declare function useMatches(): { | ||
id: string; | ||
pathname: string; | ||
@@ -175,0 +176,0 @@ params: import("react-router").Params<string>; |
/** | ||
* @remix-run/react v0.0.0-experimental-4c9b53a0 | ||
* @remix-run/react v0.0.0-experimental-4de2f9cd | ||
* | ||
@@ -871,2 +871,4 @@ * Copyright (c) Remix Software Inc. | ||
return matches.map(match => { | ||
var _routeModules$match$r; | ||
let { | ||
@@ -877,6 +879,9 @@ pathname, | ||
return { | ||
id: match.route.id, | ||
pathname, | ||
params, | ||
data: routeData[match.route.id], | ||
handle: routeModules[match.route.id].handle | ||
// if the module fails to load or an error/response is thrown, the module | ||
// won't be defined. | ||
handle: (_routeModules$match$r = routeModules[match.route.id]) === null || _routeModules$match$r === void 0 ? void 0 : _routeModules$match$r.handle | ||
}; | ||
@@ -883,0 +888,0 @@ }); |
/** | ||
* @remix-run/react v0.0.0-experimental-4c9b53a0 | ||
* @remix-run/react v0.0.0-experimental-4de2f9cd | ||
* | ||
@@ -28,4 +28,2 @@ * Copyright (c) Remix Software Inc. | ||
url.searchParams.set("_data", routeId); | ||
url.searchParams.sort(); // Improves caching | ||
let init = submission ? getActionInit(submission, signal) : { | ||
@@ -32,0 +30,0 @@ credentials: "same-origin", |
/** | ||
* @remix-run/react v0.0.0-experimental-4c9b53a0 | ||
* @remix-run/react v0.0.0-experimental-4de2f9cd | ||
* | ||
@@ -4,0 +4,0 @@ * Copyright (c) Remix Software Inc. |
/** | ||
* @remix-run/react v0.0.0-experimental-4c9b53a0 | ||
* @remix-run/react v0.0.0-experimental-4de2f9cd | ||
* | ||
@@ -4,0 +4,0 @@ * Copyright (c) Remix Software Inc. |
/** | ||
* @remix-run/react v0.0.0-experimental-4c9b53a0 | ||
* @remix-run/react v0.0.0-experimental-4de2f9cd | ||
* | ||
@@ -4,0 +4,0 @@ * Copyright (c) Remix Software Inc. |
/** | ||
* @remix-run/react v0.0.0-experimental-4c9b53a0 | ||
* @remix-run/react v0.0.0-experimental-4de2f9cd | ||
* | ||
@@ -847,2 +847,4 @@ * Copyright (c) Remix Software Inc. | ||
return matches.map(match => { | ||
var _routeModules$match$r; | ||
let { | ||
@@ -853,6 +855,9 @@ pathname, | ||
return { | ||
id: match.route.id, | ||
pathname, | ||
params, | ||
data: routeData[match.route.id], | ||
handle: routeModules[match.route.id].handle | ||
// if the module fails to load or an error/response is thrown, the module | ||
// won't be defined. | ||
handle: (_routeModules$match$r = routeModules[match.route.id]) === null || _routeModules$match$r === void 0 ? void 0 : _routeModules$match$r.handle | ||
}; | ||
@@ -859,0 +864,0 @@ }); |
/** | ||
* @remix-run/react v0.0.0-experimental-4c9b53a0 | ||
* @remix-run/react v0.0.0-experimental-4de2f9cd | ||
* | ||
@@ -24,4 +24,2 @@ * Copyright (c) Remix Software Inc. | ||
url.searchParams.set("_data", routeId); | ||
url.searchParams.sort(); // Improves caching | ||
let init = submission ? getActionInit(submission, signal) : { | ||
@@ -28,0 +26,0 @@ credentials: "same-origin", |
/** | ||
* @remix-run/react v0.0.0-experimental-4c9b53a0 | ||
* @remix-run/react v0.0.0-experimental-4de2f9cd | ||
* | ||
@@ -4,0 +4,0 @@ * Copyright (c) Remix Software Inc. |
/** | ||
* @remix-run/react v0.0.0-experimental-4c9b53a0 | ||
* @remix-run/react v0.0.0-experimental-4de2f9cd | ||
* | ||
@@ -4,0 +4,0 @@ * Copyright (c) Remix Software Inc. |
/** | ||
* @remix-run/react v0.0.0-experimental-4c9b53a0 | ||
* @remix-run/react v0.0.0-experimental-4de2f9cd | ||
* | ||
@@ -4,0 +4,0 @@ * Copyright (c) Remix Software Inc. |
/** | ||
* @remix-run/react v0.0.0-experimental-4c9b53a0 | ||
* @remix-run/react v0.0.0-experimental-4de2f9cd | ||
* | ||
@@ -167,3 +167,3 @@ * Copyright (c) Remix Software Inc. | ||
let searchParams = new URLSearchParams(search); | ||
searchParams.append("_data", match.route.id); | ||
searchParams.set("_data", match.route.id); | ||
return `${pathname}?${searchParams}`; | ||
@@ -170,0 +170,0 @@ })); |
/** | ||
* @remix-run/react v0.0.0-experimental-4c9b53a0 | ||
* @remix-run/react v0.0.0-experimental-4de2f9cd | ||
* | ||
@@ -4,0 +4,0 @@ * Copyright (c) Remix Software Inc. |
/** | ||
* @remix-run/react v0.0.0-experimental-4c9b53a0 | ||
* @remix-run/react v0.0.0-experimental-4de2f9cd | ||
* | ||
@@ -4,0 +4,0 @@ * Copyright (c) Remix Software Inc. |
/** | ||
* @remix-run/react v0.0.0-experimental-4c9b53a0 | ||
* @remix-run/react v0.0.0-experimental-4de2f9cd | ||
* | ||
@@ -4,0 +4,0 @@ * Copyright (c) Remix Software Inc. |
/** | ||
* @remix-run/react v0.0.0-experimental-4c9b53a0 | ||
* @remix-run/react v0.0.0-experimental-4de2f9cd | ||
* | ||
@@ -4,0 +4,0 @@ * Copyright (c) Remix Software Inc. |
/** | ||
* @remix-run/react v0.0.0-experimental-4c9b53a0 | ||
* @remix-run/react v0.0.0-experimental-4de2f9cd | ||
* | ||
@@ -4,0 +4,0 @@ * Copyright (c) Remix Software Inc. |
/** | ||
* @remix-run/react v0.0.0-experimental-4c9b53a0 | ||
* @remix-run/react v0.0.0-experimental-4de2f9cd | ||
* | ||
@@ -4,0 +4,0 @@ * Copyright (c) Remix Software Inc. |
/** | ||
* @remix-run/react v0.0.0-experimental-4c9b53a0 | ||
* @remix-run/react v0.0.0-experimental-4de2f9cd | ||
* | ||
@@ -4,0 +4,0 @@ * Copyright (c) Remix Software Inc. |
/** | ||
* @remix-run/react v0.0.0-experimental-4c9b53a0 | ||
* @remix-run/react v0.0.0-experimental-4de2f9cd | ||
* | ||
@@ -4,0 +4,0 @@ * Copyright (c) Remix Software Inc. |
/** | ||
* @remix-run/react v0.0.0-experimental-4c9b53a0 | ||
* @remix-run/react v0.0.0-experimental-4de2f9cd | ||
* | ||
@@ -4,0 +4,0 @@ * Copyright (c) Remix Software Inc. |
/** | ||
* @remix-run/react v0.0.0-experimental-4c9b53a0 | ||
* @remix-run/react v0.0.0-experimental-4de2f9cd | ||
* | ||
@@ -171,3 +171,3 @@ * Copyright (c) Remix Software Inc. | ||
let searchParams = new URLSearchParams(search); | ||
searchParams.append("_data", match.route.id); | ||
searchParams.set("_data", match.route.id); | ||
return `${pathname}?${searchParams}`; | ||
@@ -174,0 +174,0 @@ })); |
/** | ||
* @remix-run/react v0.0.0-experimental-4c9b53a0 | ||
* @remix-run/react v0.0.0-experimental-4de2f9cd | ||
* | ||
@@ -4,0 +4,0 @@ * Copyright (c) Remix Software Inc. |
/** | ||
* @remix-run/react v0.0.0-experimental-4c9b53a0 | ||
* @remix-run/react v0.0.0-experimental-4de2f9cd | ||
* | ||
@@ -4,0 +4,0 @@ * Copyright (c) Remix Software Inc. |
/** | ||
* @remix-run/react v0.0.0-experimental-4c9b53a0 | ||
* @remix-run/react v0.0.0-experimental-4de2f9cd | ||
* | ||
@@ -4,0 +4,0 @@ * Copyright (c) Remix Software Inc. |
{ | ||
"name": "@remix-run/react", | ||
"description": "React DOM bindings for Remix", | ||
"version": "0.0.0-experimental-4c9b53a0", | ||
"version": "0.0.0-experimental-4de2f9cd", | ||
"license": "MIT", | ||
@@ -6,0 +6,0 @@ "repository": { |
/** | ||
* @remix-run/react v0.0.0-experimental-4c9b53a0 | ||
* @remix-run/react v0.0.0-experimental-4de2f9cd | ||
* | ||
@@ -4,0 +4,0 @@ * Copyright (c) Remix Software Inc. |
/** | ||
* @remix-run/react v0.0.0-experimental-4c9b53a0 | ||
* @remix-run/react v0.0.0-experimental-4de2f9cd | ||
* | ||
@@ -4,0 +4,0 @@ * Copyright (c) Remix Software Inc. |
/** | ||
* @remix-run/react v0.0.0-experimental-4c9b53a0 | ||
* @remix-run/react v0.0.0-experimental-4de2f9cd | ||
* | ||
@@ -4,0 +4,0 @@ * Copyright (c) Remix Software Inc. |
/** | ||
* @remix-run/react v0.0.0-experimental-4c9b53a0 | ||
* @remix-run/react v0.0.0-experimental-4de2f9cd | ||
* | ||
@@ -4,0 +4,0 @@ * Copyright (c) Remix Software Inc. |
/** | ||
* @remix-run/react v0.0.0-experimental-4c9b53a0 | ||
* @remix-run/react v0.0.0-experimental-4de2f9cd | ||
* | ||
@@ -4,0 +4,0 @@ * Copyright (c) Remix Software Inc. |
/** | ||
* @remix-run/react v0.0.0-experimental-4c9b53a0 | ||
* @remix-run/react v0.0.0-experimental-4de2f9cd | ||
* | ||
@@ -4,0 +4,0 @@ * Copyright (c) Remix Software Inc. |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
237913
6794