use-sync-external-store
Advanced tools
Comparing version 0.0.0-experimental-378b305958-20240710 to 0.0.0-experimental-37906d4d-20250127
@@ -60,3 +60,3 @@ /** | ||
if (void 0 !== isEqual && isEqual(currentSelection, nextSelection)) | ||
return currentSelection; | ||
return (memoizedSnapshot = nextSnapshot), currentSelection; | ||
memoizedSnapshot = nextSnapshot; | ||
@@ -63,0 +63,0 @@ return (memoizedSelection = nextSelection); |
@@ -53,3 +53,3 @@ /** | ||
if (void 0 !== isEqual && isEqual(currentSelection, nextSelection)) | ||
return currentSelection; | ||
return (memoizedSnapshot = nextSnapshot), currentSelection; | ||
memoizedSnapshot = nextSnapshot; | ||
@@ -56,0 +56,0 @@ return (memoizedSelection = nextSelection); |
@@ -59,3 +59,3 @@ /** | ||
if (void 0 !== isEqual && isEqual(currentSelection, nextSelection)) | ||
return currentSelection; | ||
return (memoizedSnapshot = nextSnapshot), currentSelection; | ||
memoizedSnapshot = nextSnapshot; | ||
@@ -62,0 +62,0 @@ return (memoizedSelection = nextSelection); |
@@ -52,3 +52,3 @@ /** | ||
if (void 0 !== isEqual && isEqual(currentSelection, nextSelection)) | ||
return currentSelection; | ||
return (memoizedSnapshot = nextSnapshot), currentSelection; | ||
memoizedSnapshot = nextSnapshot; | ||
@@ -55,0 +55,0 @@ return (memoizedSelection = nextSelection); |
{ | ||
"name": "use-sync-external-store", | ||
"description": "Backwards compatible shim for React's useSyncExternalStore. Works with any React that supports hooks.", | ||
"version": "0.0.0-experimental-378b305958-20240710", | ||
"version": "0.0.0-experimental-37906d4d-20250127", | ||
"repository": { | ||
@@ -22,3 +22,3 @@ "type": "git", | ||
"peerDependencies": { | ||
"react": "0.0.0-experimental-378b305958-20240710" | ||
"react": "0.0.0-experimental-37906d4d-20250127" | ||
}, | ||
@@ -25,0 +25,0 @@ "devDependencies": { |
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
27668
0