@rooks/use-debounce
Version:
Debounce hook for react
31 lines (20 loc) • 792 B
Markdown
# @rooks/use-debounce
### Debounce hook for react
   
<a href="https://spectrum.chat/rooks"><img src="https://withspectrum.github.io/badge/badge.svg" alt="Join the community on Spectrum"/></a>
### Installation
```
npm install --save @rooks/use-debounce
```
### Importing the hook
```javascript
import useDebounce from "@rooks/use-debounce"
```
### Usage
```jsx
function Demo() {
useDebounce();
return null
}
render(<Demo/>)
```