Socket
Socket
Sign inDemoInstall

react-timeout

Package Overview
Dependencies
1
Maintainers
1
Versions
13
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 0.16.0 to 0.16.1

2

package.json
{
"name": "react-timeout",
"version": "0.16.0",
"version": "0.16.1",
"description": "Component wrapper for setTimeout et al that cleans up after itself.",

@@ -5,0 +5,0 @@ "homepage": "https://github.com/plougsgaard/react-timeout",

@@ -28,4 +28,6 @@ # React Timeout

The library also works with React Native `^0.16` and probably earlier versions:
From `^0.18` and onwards *it just works*.
For previous versions, import it like so:
```javascript

@@ -68,10 +70,6 @@ import ReactTimeout from 'react-timeout/native'

## Inspiration
## Similar
### [react-timer-mixin](https://github.com/reactjs/react-timer-mixin)
The timer mixin recommended by the [react-native](https://github.com/reactjs/react-native) `README.md`.
### [Mixins Are Dead. Long Live Composition](https://medium.com/@dan_abramov/mixins-are-dead-long-live-higher-order-components-94a0d2f9e750)
[Dan Abramov](https://github.com/gaearon)'s article promoting stuff like this package
The timer mixin recommended by the [react-native](https://github.com/facebook/react-native) `README.md`.

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc