use-sync-external-store
Advanced tools
Comparing version 1.4.0-rc-c3cdbec0a7-20240708 to 1.4.0-rc-cae764ce-20241025
@@ -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": "1.4.0-rc-c3cdbec0a7-20240708", | ||
"version": "1.4.0-rc-cae764ce-20241025", | ||
"repository": { | ||
@@ -22,3 +22,3 @@ "type": "git", | ||
"peerDependencies": { | ||
"react": "19.0.0-rc-c3cdbec0a7-20240708" | ||
"react": "19.0.0-rc-cae764ce-20241025" | ||
}, | ||
@@ -25,0 +25,0 @@ "devDependencies": { |
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
27649