Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@remix-run/react

Package Overview
Dependencies
Maintainers
2
Versions
1029
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@remix-run/react - npm Package Compare versions

Comparing version 0.0.0-experimental-db4e08b8 to 0.0.0-experimental-f88eb375

2

_virtual/_rollupPluginBabelHelpers.js
/**
* @remix-run/react v0.0.0-experimental-db4e08b8
* @remix-run/react v0.0.0-experimental-f88eb375
*

@@ -4,0 +4,0 @@ * Copyright (c) Remix Software Inc.

/**
* @remix-run/react v0.0.0-experimental-db4e08b8
* @remix-run/react v0.0.0-experimental-f88eb375
*

@@ -4,0 +4,0 @@ * Copyright (c) Remix Software Inc.

/**
* @remix-run/react v0.0.0-experimental-db4e08b8
* @remix-run/react v0.0.0-experimental-f88eb375
*

@@ -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-db4e08b8
* @remix-run/react v0.0.0-experimental-f88eb375
*

@@ -4,0 +4,0 @@ * Copyright (c) Remix Software Inc.

/**
* @remix-run/react v0.0.0-experimental-db4e08b8
* @remix-run/react v0.0.0-experimental-f88eb375
*

@@ -4,0 +4,0 @@ * Copyright (c) Remix Software Inc.

/**
* @remix-run/react v0.0.0-experimental-db4e08b8
* @remix-run/react v0.0.0-experimental-f88eb375
*

@@ -4,0 +4,0 @@ * Copyright (c) Remix Software Inc.

/**
* @remix-run/react v0.0.0-experimental-db4e08b8
* @remix-run/react v0.0.0-experimental-f88eb375
*

@@ -4,0 +4,0 @@ * Copyright (c) Remix Software Inc.

/**
* @remix-run/react v0.0.0-experimental-db4e08b8
* @remix-run/react v0.0.0-experimental-f88eb375
*

@@ -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-db4e08b8
* @remix-run/react v0.0.0-experimental-f88eb375
*

@@ -4,0 +4,0 @@ * Copyright (c) Remix Software Inc.

/**
* @remix-run/react v0.0.0-experimental-db4e08b8
* @remix-run/react v0.0.0-experimental-f88eb375
*

@@ -4,0 +4,0 @@ * Copyright (c) Remix Software Inc.

/**
* @remix-run/react v0.0.0-experimental-db4e08b8
* @remix-run/react v0.0.0-experimental-f88eb375
*

@@ -4,0 +4,0 @@ * Copyright (c) Remix Software Inc.

/**
* @remix-run/react v0.0.0-experimental-db4e08b8
* @remix-run/react v0.0.0-experimental-f88eb375
*

@@ -4,0 +4,0 @@ * Copyright (c) Remix Software Inc.

/**
* @remix-run/react v0.0.0-experimental-db4e08b8
* @remix-run/react v0.0.0-experimental-f88eb375
*

@@ -4,0 +4,0 @@ * Copyright (c) Remix Software Inc.

/**
* @remix-run/react v0.0.0-experimental-db4e08b8
* @remix-run/react v0.0.0-experimental-f88eb375
*

@@ -4,0 +4,0 @@ * Copyright (c) Remix Software Inc.

/**
* @remix-run/react v0.0.0-experimental-db4e08b8
* @remix-run/react v0.0.0-experimental-f88eb375
*

@@ -4,0 +4,0 @@ * Copyright (c) Remix Software Inc.

/**
* @remix-run/react v0.0.0-experimental-db4e08b8
* @remix-run/react v0.0.0-experimental-f88eb375
*

@@ -47,3 +47,3 @@ * Copyright (c) Remix Software Inc.

* about to reload the route. A common case is a root loader with nothing but
* enviornment variables: after form submissions the root probably doesn't need
* environment variables: after form submissions the root probably doesn't need
* to be reloaded.

@@ -50,0 +50,0 @@ */

/**
* @remix-run/react v0.0.0-experimental-db4e08b8
* @remix-run/react v0.0.0-experimental-f88eb375
*

@@ -4,0 +4,0 @@ * Copyright (c) Remix Software Inc.

/**
* @remix-run/react v0.0.0-experimental-db4e08b8
* @remix-run/react v0.0.0-experimental-f88eb375
*

@@ -18,3 +18,3 @@ * Copyright (c) Remix Software Inc.

if (typeof window !== "undefined") {
if (typeof document !== "undefined") {
let sessionPositions = sessionStorage.getItem(STORAGE_KEY);

@@ -78,3 +78,3 @@

if (typeof window !== "undefined") {
if (typeof document !== "undefined") {
// eslint-disable-next-line

@@ -81,0 +81,0 @@ React.useLayoutEffect(() => {

/**
* @remix-run/react v0.0.0-experimental-db4e08b8
* @remix-run/react v0.0.0-experimental-f88eb375
*

@@ -4,0 +4,0 @@ * Copyright (c) Remix Software Inc.

/**
* @remix-run/react v0.0.0-experimental-db4e08b8
* @remix-run/react v0.0.0-experimental-f88eb375
*

@@ -4,0 +4,0 @@ * Copyright (c) Remix Software Inc.

/**
* @remix-run/react v0.0.0-experimental-db4e08b8
* @remix-run/react v0.0.0-experimental-f88eb375
*

@@ -4,0 +4,0 @@ * Copyright (c) Remix Software Inc.

/**
* @remix-run/react v0.0.0-experimental-db4e08b8
* @remix-run/react v0.0.0-experimental-f88eb375
*

@@ -4,0 +4,0 @@ * Copyright (c) Remix Software Inc.

/**
* @remix-run/react v0.0.0-experimental-db4e08b8
* @remix-run/react v0.0.0-experimental-f88eb375
*

@@ -4,0 +4,0 @@ * Copyright (c) Remix Software Inc.

/**
* @remix-run/react v0.0.0-experimental-db4e08b8
* @remix-run/react v0.0.0-experimental-f88eb375
*

@@ -4,0 +4,0 @@ * Copyright (c) Remix Software Inc.

/**
* @remix-run/react v0.0.0-experimental-db4e08b8
* @remix-run/react v0.0.0-experimental-f88eb375
*

@@ -4,0 +4,0 @@ * Copyright (c) Remix Software Inc.

/**
* @remix-run/react v0.0.0-experimental-db4e08b8
* @remix-run/react v0.0.0-experimental-f88eb375
*

@@ -4,0 +4,0 @@ * Copyright (c) Remix Software Inc.

{
"name": "@remix-run/react",
"description": "React DOM bindings for Remix",
"version": "0.0.0-experimental-db4e08b8",
"version": "0.0.0-experimental-f88eb375",
"license": "MIT",

@@ -17,3 +17,3 @@ "repository": {

"dependencies": {
"react-router-dom": "^6.1.0"
"react-router-dom": "^6.1.1"
},

@@ -20,0 +20,0 @@ "peerDependencies": {

/**
* @remix-run/react v0.0.0-experimental-db4e08b8
* @remix-run/react v0.0.0-experimental-f88eb375
*

@@ -4,0 +4,0 @@ * Copyright (c) Remix Software Inc.

@@ -68,3 +68,3 @@ import type { Location } from "history";

* about to reload the route. A common case is a root loader with nothing but
* enviornment variables: after form submissions the root probably doesn't need
* environment variables: after form submissions the root probably doesn't need
* to be reloaded.

@@ -71,0 +71,0 @@ */

/**
* @remix-run/react v0.0.0-experimental-db4e08b8
* @remix-run/react v0.0.0-experimental-f88eb375
*

@@ -69,3 +69,3 @@ * Copyright (c) Remix Software Inc.

* about to reload the route. A common case is a root loader with nothing but
* enviornment variables: after form submissions the root probably doesn't need
* environment variables: after form submissions the root probably doesn't need
* to be reloaded.

@@ -72,0 +72,0 @@ */

/**
* @remix-run/react v0.0.0-experimental-db4e08b8
* @remix-run/react v0.0.0-experimental-f88eb375
*

@@ -4,0 +4,0 @@ * Copyright (c) Remix Software Inc.

/**
* @remix-run/react v0.0.0-experimental-db4e08b8
* @remix-run/react v0.0.0-experimental-f88eb375
*

@@ -42,3 +42,3 @@ * Copyright (c) Remix Software Inc.

if (typeof window !== "undefined") {
if (typeof document !== "undefined") {
let sessionPositions = sessionStorage.getItem(STORAGE_KEY);

@@ -102,3 +102,3 @@

if (typeof window !== "undefined") {
if (typeof document !== "undefined") {
// eslint-disable-next-line

@@ -105,0 +105,0 @@ React__namespace.useLayoutEffect(() => {

/**
* @remix-run/react v0.0.0-experimental-db4e08b8
* @remix-run/react v0.0.0-experimental-f88eb375
*

@@ -4,0 +4,0 @@ * Copyright (c) Remix Software Inc.

/**
* @remix-run/react v0.0.0-experimental-db4e08b8
* @remix-run/react v0.0.0-experimental-f88eb375
*

@@ -4,0 +4,0 @@ * Copyright (c) Remix Software Inc.

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc