use-deep-compare
Advanced tools
Comparing version 0.0.1 to 0.1.0
@@ -48,3 +48,3 @@ 'use strict'; | ||
React.useCallback(callback, useDeepCompareMemoize(dependencies)); | ||
return React.useCallback(callback, useDeepCompareMemoize(dependencies)); | ||
} | ||
@@ -51,0 +51,0 @@ |
@@ -17,5 +17,5 @@ import React from 'react'; | ||
React.useCallback(callback, useDeepCompareMemoize(dependencies)); | ||
return React.useCallback(callback, useDeepCompareMemoize(dependencies)); | ||
} | ||
export default useDeepCompareCallback; |
@@ -10,3 +10,3 @@ import React from 'react'; | ||
*/ | ||
declare function useDeepCompareCallback<T extends (...args: any[]) => any>(callback: T, dependencies: React.DependencyList): void; | ||
declare function useDeepCompareCallback<T extends (...args: any[]) => any>(callback: T, dependencies: React.DependencyList): T; | ||
export default useDeepCompareCallback; |
@@ -42,3 +42,3 @@ import React from 'react'; | ||
React.useCallback(callback, useDeepCompareMemoize(dependencies)); | ||
return React.useCallback(callback, useDeepCompareMemoize(dependencies)); | ||
} | ||
@@ -45,0 +45,0 @@ |
{ | ||
"name": "use-deep-compare", | ||
"version": "0.0.1", | ||
"version": "0.1.0", | ||
"license": "MIT", | ||
@@ -5,0 +5,0 @@ "esnext": "dist-src/index.js", |
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
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
11019
0