@react-facet/spring
Advanced tools
Comparing version 0.1.4 to 0.2.0
@@ -34,3 +34,3 @@ "use strict"; | ||
return () => cancelAnimationFrame(frameID); | ||
}, [damping, stiffness, precision, setState], targetFacet); | ||
}, [damping, stiffness, precision, setState], [targetFacet]); | ||
return (0, core_1.useFacetMap)(([currentXPosition]) => currentXPosition, [], [state]); | ||
@@ -37,0 +37,0 @@ } |
@@ -32,3 +32,3 @@ { | ||
"license": "MIT", | ||
"version": "0.1.4", | ||
"version": "0.2.0", | ||
"main": "dist/index.js", | ||
@@ -45,7 +45,7 @@ "publishConfig": { | ||
"peerDependencies": { | ||
"@react-facet/core": "0.1.4", | ||
"@react-facet/core": "0.2.0", | ||
"react": "^16.9.0" | ||
}, | ||
"devDependencies": { | ||
"@react-facet/core": "0.1.4", | ||
"@react-facet/core": "0.2.0", | ||
"@testing-library/jest-dom": "^5.10.1", | ||
@@ -52,0 +52,0 @@ "@testing-library/react": "^9.4.1", |
Sorry, the diff of this file is not supported yet
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
10122