Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

react-timing-hooks

Package Overview
Dependencies
Maintainers
1
Versions
47
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

react-timing-hooks - npm Package Compare versions

Comparing version 0.2.0 to 0.2.1

7

CHANGELOG.md

@@ -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 @@

2

package.json
{
"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 @@

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc