@remix-run/react
Advanced tools
Comparing version 0.0.0-experimental-ceeb7031 to 0.0.0-experimental-d8d46263
/** | ||
* @remix-run/react v0.0.0-experimental-ceeb7031 | ||
* @remix-run/react v0.0.0-experimental-d8d46263 | ||
* | ||
@@ -4,0 +4,0 @@ * Copyright (c) Remix Software Inc. |
/** | ||
* @remix-run/react v0.0.0-experimental-ceeb7031 | ||
* @remix-run/react v0.0.0-experimental-d8d46263 | ||
* | ||
@@ -4,0 +4,0 @@ * Copyright (c) Remix Software Inc. |
/** | ||
* @remix-run/react v0.0.0-experimental-ceeb7031 | ||
* @remix-run/react v0.0.0-experimental-d8d46263 | ||
* | ||
@@ -517,3 +517,9 @@ * Copyright (c) Remix Software Inc. | ||
} | ||
/** | ||
* Tracks whether Remix has finished hydrating or not, so scripts can be skipped | ||
* during client-side updates. | ||
*/ | ||
let isHydrated = false; | ||
/** | ||
@@ -535,2 +541,5 @@ * Renders the `<script>` tags needed for the initial render. Bundles for | ||
} = useRemixEntryContext(); | ||
React__default["default"].useEffect(() => { | ||
isHydrated = true; | ||
}, []); | ||
let initialScripts = React__default["default"].useMemo(() => { | ||
@@ -577,3 +586,3 @@ let contextScript = serverHandoffString ? `window.__remixContext = ${serverHandoffString};` : ""; | ||
crossOrigin: props.crossOrigin | ||
})), initialScripts); | ||
})), isHydrated ? null : initialScripts); | ||
} | ||
@@ -580,0 +589,0 @@ |
/** | ||
* @remix-run/react v0.0.0-experimental-ceeb7031 | ||
* @remix-run/react v0.0.0-experimental-d8d46263 | ||
* | ||
@@ -4,0 +4,0 @@ * Copyright (c) Remix Software Inc. |
/** | ||
* @remix-run/react v0.0.0-experimental-ceeb7031 | ||
* @remix-run/react v0.0.0-experimental-d8d46263 | ||
* | ||
@@ -4,0 +4,0 @@ * Copyright (c) Remix Software Inc. |
/** | ||
* @remix-run/react v0.0.0-experimental-ceeb7031 | ||
* @remix-run/react v0.0.0-experimental-d8d46263 | ||
* | ||
@@ -4,0 +4,0 @@ * Copyright (c) Remix Software Inc. |
/** | ||
* @remix-run/react v0.0.0-experimental-ceeb7031 | ||
* @remix-run/react v0.0.0-experimental-d8d46263 | ||
* | ||
@@ -4,0 +4,0 @@ * Copyright (c) Remix Software Inc. |
/** | ||
* @remix-run/react v0.0.0-experimental-ceeb7031 | ||
* @remix-run/react v0.0.0-experimental-d8d46263 | ||
* | ||
@@ -509,3 +509,9 @@ * Copyright (c) Remix Software Inc. | ||
} | ||
/** | ||
* Tracks whether Remix has finished hydrating or not, so scripts can be skipped | ||
* during client-side updates. | ||
*/ | ||
let isHydrated = false; | ||
/** | ||
@@ -527,2 +533,5 @@ * Renders the `<script>` tags needed for the initial render. Bundles for | ||
} = useRemixEntryContext(); | ||
React__default.useEffect(() => { | ||
isHydrated = true; | ||
}, []); | ||
let initialScripts = React__default.useMemo(() => { | ||
@@ -569,3 +578,3 @@ let contextScript = serverHandoffString ? `window.__remixContext = ${serverHandoffString};` : ""; | ||
crossOrigin: props.crossOrigin | ||
})), initialScripts); | ||
})), isHydrated ? null : initialScripts); | ||
} | ||
@@ -572,0 +581,0 @@ |
/** | ||
* @remix-run/react v0.0.0-experimental-ceeb7031 | ||
* @remix-run/react v0.0.0-experimental-d8d46263 | ||
* | ||
@@ -4,0 +4,0 @@ * Copyright (c) Remix Software Inc. |
/** | ||
* @remix-run/react v0.0.0-experimental-ceeb7031 | ||
* @remix-run/react v0.0.0-experimental-d8d46263 | ||
* | ||
@@ -4,0 +4,0 @@ * Copyright (c) Remix Software Inc. |
/** | ||
* @remix-run/react v0.0.0-experimental-ceeb7031 | ||
* @remix-run/react v0.0.0-experimental-d8d46263 | ||
* | ||
@@ -4,0 +4,0 @@ * Copyright (c) Remix Software Inc. |
/** | ||
* @remix-run/react v0.0.0-experimental-ceeb7031 | ||
* @remix-run/react v0.0.0-experimental-d8d46263 | ||
* | ||
@@ -4,0 +4,0 @@ * Copyright (c) Remix Software Inc. |
/** | ||
* @remix-run/react v0.0.0-experimental-ceeb7031 | ||
* @remix-run/react v0.0.0-experimental-d8d46263 | ||
* | ||
@@ -4,0 +4,0 @@ * Copyright (c) Remix Software Inc. |
/** | ||
* @remix-run/react v0.0.0-experimental-ceeb7031 | ||
* @remix-run/react v0.0.0-experimental-d8d46263 | ||
* | ||
@@ -4,0 +4,0 @@ * Copyright (c) Remix Software Inc. |
/** | ||
* @remix-run/react v0.0.0-experimental-ceeb7031 | ||
* @remix-run/react v0.0.0-experimental-d8d46263 | ||
* | ||
@@ -4,0 +4,0 @@ * Copyright (c) Remix Software Inc. |
/** | ||
* @remix-run/react v0.0.0-experimental-ceeb7031 | ||
* @remix-run/react v0.0.0-experimental-d8d46263 | ||
* | ||
@@ -4,0 +4,0 @@ * Copyright (c) Remix Software Inc. |
/** | ||
* @remix-run/react v0.0.0-experimental-ceeb7031 | ||
* @remix-run/react v0.0.0-experimental-d8d46263 | ||
* | ||
@@ -4,0 +4,0 @@ * Copyright (c) Remix Software Inc. |
/** | ||
* @remix-run/react v0.0.0-experimental-ceeb7031 | ||
* @remix-run/react v0.0.0-experimental-d8d46263 | ||
* | ||
@@ -4,0 +4,0 @@ * Copyright (c) Remix Software Inc. |
/** | ||
* @remix-run/react v0.0.0-experimental-ceeb7031 | ||
* @remix-run/react v0.0.0-experimental-d8d46263 | ||
* | ||
@@ -4,0 +4,0 @@ * Copyright (c) Remix Software Inc. |
/** | ||
* @remix-run/react v0.0.0-experimental-ceeb7031 | ||
* @remix-run/react v0.0.0-experimental-d8d46263 | ||
* | ||
@@ -4,0 +4,0 @@ * Copyright (c) Remix Software Inc. |
/** | ||
* @remix-run/react v0.0.0-experimental-ceeb7031 | ||
* @remix-run/react v0.0.0-experimental-d8d46263 | ||
* | ||
@@ -4,0 +4,0 @@ * Copyright (c) Remix Software Inc. |
/** | ||
* @remix-run/react v0.0.0-experimental-ceeb7031 | ||
* @remix-run/react v0.0.0-experimental-d8d46263 | ||
* | ||
@@ -4,0 +4,0 @@ * Copyright (c) Remix Software Inc. |
/** | ||
* @remix-run/react v0.0.0-experimental-ceeb7031 | ||
* @remix-run/react v0.0.0-experimental-d8d46263 | ||
* | ||
@@ -4,0 +4,0 @@ * Copyright (c) Remix Software Inc. |
/** | ||
* @remix-run/react v0.0.0-experimental-ceeb7031 | ||
* @remix-run/react v0.0.0-experimental-d8d46263 | ||
* | ||
@@ -4,0 +4,0 @@ * Copyright (c) Remix Software Inc. |
/** | ||
* @remix-run/react v0.0.0-experimental-ceeb7031 | ||
* @remix-run/react v0.0.0-experimental-d8d46263 | ||
* | ||
@@ -4,0 +4,0 @@ * Copyright (c) Remix Software Inc. |
/** | ||
* @remix-run/react v0.0.0-experimental-ceeb7031 | ||
* @remix-run/react v0.0.0-experimental-d8d46263 | ||
* | ||
@@ -4,0 +4,0 @@ * Copyright (c) Remix Software Inc. |
{ | ||
"name": "@remix-run/react", | ||
"description": "React DOM bindings for Remix", | ||
"version": "0.0.0-experimental-ceeb7031", | ||
"version": "0.0.0-experimental-d8d46263", | ||
"license": "MIT", | ||
@@ -6,0 +6,0 @@ "repository": { |
/** | ||
* @remix-run/react v0.0.0-experimental-ceeb7031 | ||
* @remix-run/react v0.0.0-experimental-d8d46263 | ||
* | ||
@@ -4,0 +4,0 @@ * Copyright (c) Remix Software Inc. |
@@ -49,3 +49,3 @@ import type { Location } from "history"; | ||
location: Location; | ||
}): HtmlMetaDescriptor; | ||
}): HtmlMetaDescriptor | undefined; | ||
} | ||
@@ -52,0 +52,0 @@ /** |
/** | ||
* @remix-run/react v0.0.0-experimental-ceeb7031 | ||
* @remix-run/react v0.0.0-experimental-d8d46263 | ||
* | ||
@@ -4,0 +4,0 @@ * Copyright (c) Remix Software Inc. |
/** | ||
* @remix-run/react v0.0.0-experimental-ceeb7031 | ||
* @remix-run/react v0.0.0-experimental-d8d46263 | ||
* | ||
@@ -4,0 +4,0 @@ * Copyright (c) Remix Software Inc. |
/** | ||
* @remix-run/react v0.0.0-experimental-ceeb7031 | ||
* @remix-run/react v0.0.0-experimental-d8d46263 | ||
* | ||
@@ -4,0 +4,0 @@ * Copyright (c) Remix Software Inc. |
/** | ||
* @remix-run/react v0.0.0-experimental-ceeb7031 | ||
* @remix-run/react v0.0.0-experimental-d8d46263 | ||
* | ||
@@ -4,0 +4,0 @@ * Copyright (c) Remix Software Inc. |
/** | ||
* @remix-run/react v0.0.0-experimental-ceeb7031 | ||
* @remix-run/react v0.0.0-experimental-d8d46263 | ||
* | ||
@@ -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
238191
6686