use-sync-external-store
Advanced tools
Comparing version 1.4.0-rc-e684ca66ab-20240619 to 1.4.0-rc-e740d4b1-20240919
@@ -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-e684ca66ab-20240619", | ||
"version": "1.4.0-rc-e740d4b1-20240919", | ||
"repository": { | ||
@@ -22,3 +22,3 @@ "type": "git", | ||
"peerDependencies": { | ||
"react": "19.0.0-rc-e684ca66ab-20240619" | ||
"react": "19.0.0-rc-e740d4b1-20240919" | ||
}, | ||
@@ -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