react-timing-hooks
Advanced tools
Comparing version 0.2.0 to 0.2.1
@@ -5,2 +5,9 @@ # Changelog | ||
### [0.2.1](https://github.com/EricLambrecht/react-timing-hooks/compare/v0.2.0...v0.2.1) (2020-03-18) | ||
### Bug Fixes | ||
* Fix doc in README ([fb927cb](https://github.com/EricLambrecht/react-timing-hooks/commit/fb927cb11cd1b1336f0788d4ca2d7c10c4df7031)) | ||
## [0.2.0](https://github.com/EricLambrecht/react-timing-hooks/compare/v0.1.4...v0.2.0) (2020-03-18) | ||
@@ -7,0 +14,0 @@ |
{ | ||
"name": "react-timing-hooks", | ||
"version": "0.2.0", | ||
"version": "0.2.1", | ||
"description": "React hooks for setTimeout, setInterval, requestAnimationFrame, requestIdleCallback", | ||
@@ -5,0 +5,0 @@ "main": "dist/index.js", |
@@ -87,3 +87,3 @@ ![minified](https://badgen.net/bundlephobia/minzip/react-timing-hooks) | ||
* `intervalCallback` - will be run every _[delay]_ (second arg) seconds | ||
* `intervalCallback` - will be run every _[delay]_ milliseconds | ||
@@ -111,2 +111,3 @@ * `delay` - is the delay at which the callback will be run. If delay is `null` the interval will be suspended. | ||
* `callback` - a function that will be invoked in an animation frame loop | ||
* `stop = false` - an optional parameter to stop/pause the loop. It can be resumed by setting it to false again. | ||
@@ -113,0 +114,0 @@ |
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
52580
221