use-state-in-custom-properties
Advanced tools
Comparing version 1.0.7 to 1.0.8
@@ -71,3 +71,3 @@ "use strict"; | ||
var useStyleSync = function useStyleSync(name, val) { | ||
useEffect(function () { | ||
(0, _react.useEffect)(function () { | ||
if (styles[name] !== val) { | ||
@@ -74,0 +74,0 @@ setStyle(name, val); |
{ | ||
"name": "use-state-in-custom-properties", | ||
"version": "1.0.7", | ||
"version": "1.0.8", | ||
"description": "Makes your react state accessible through CSS properties.", | ||
@@ -5,0 +5,0 @@ "main": "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
9472