reshow-hooks
Advanced tools
Comparing version 0.17.16 to 0.17.17
@@ -10,5 +10,7 @@ "use strict"; | ||
var _callFunc = _interopRequireDefault(require("call-func")); | ||
var useSyncChange = function useSyncChange(value, setter, init) { | ||
if (value !== (0, _usePrevious["default"])(value, init)) { | ||
setter(value); | ||
(0, _callFunc["default"])(setter, [value]); | ||
} | ||
@@ -15,0 +17,0 @@ }; |
{ | ||
"version": "0.17.16", | ||
"version": "0.17.17", | ||
"name": "reshow-hooks", | ||
@@ -4,0 +4,0 @@ "repository": { |
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
27246
750