# reactjs-debounce

> react package for debounce searching in reactjs

Latest version **1.0.8** (published 2021-03-15) · MIT license · 0 weekly downloads

## Install

```sh
npm install reactjs-debounce
pnpm add reactjs-debounce
yarn add reactjs-debounce
bun add reactjs-debounce
```

## Health

**Score 20/100 (F)** — status: abandoned.

Positive: esm support; no vulnerabilities.

Warnings: low downloads; no types.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.0.8 |
| Published | 2021-03-15 |
| First published | 2021-03-13 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | ESM + CommonJS |
| Node | >=10 |
| Dependencies | 1 |
| Unpacked size | 13.2 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 2 |
| Author | ketanbodarya |
| Maintainers | ketanbodarya |
| Keywords | Reactjs, Debounce Search, Throttling, Javascript |

## Links

- npm: https://www.npmjs.com/package/reactjs-debounce
- Repository: https://github.com/ketanbodarya/react-debounce-throttling
- Homepage: https://github.com/ketanbodarya/react-debounce-throttling#readme
- Issues: https://github.com/ketanbodarya/react-debounce-throttling/issues
- npm.io page: https://npm.io/package/reactjs-debounce

## Dependencies (1)

- [lodash.debounce](https://npm.io/package/lodash.debounce.md) ^4.0.8

## Alternatives

- [jsforce](https://npm.io/package/jsforce.md) — 851.2K weekly downloads
- [react-native-qrcode-svg](https://npm.io/package/react-native-qrcode-svg.md) — 693.5K weekly downloads
- [@salesforce/plugin-data](https://npm.io/package/@salesforce/plugin-data.md) — 394.9K weekly downloads
- [@backstage/plugin-search-common](https://npm.io/package/@backstage/plugin-search-common.md) — 308.5K weekly downloads
- [@chain-registry/types](https://npm.io/package/@chain-registry/types.md) — 38.4K weekly downloads

## Recent versions

- 1.0.8 (latest) — 2021-03-15
- 1.0.7 — 2021-03-13
- 1.0.6 — 2021-03-13
- 1.0.5 — 2021-03-13
- 1.0.4 — 2021-03-13
- 1.0.3 — 2021-03-13
- 1.0.2 — 2021-03-13
- 1.0.1 — 2021-03-13
- 1.0.0 — 2021-03-13

## README

# reactjs-debounce

> react package for debounce searching in reactjs

[![NPM](https://img.shields.io/npm/v/reactjs-debounce.svg)](https://www.npmjs.com/package/reactjs-debounce) [![JavaScript Style Guide](https://img.shields.io/badge/code_style-standard-brightgreen.svg)](https://standardjs.com)

## Install

```bash
npm install --save reactjs-debounce
```

## Usage

```jsx
import React, { Component } from 'react'

import { DebounceSearch } from 'reactjs-debounce'

class Example extends Component {
  const handleDebounce = (value) => {
    console.log(value)
  }

  render() {
    return (
      <DebounceSearch
        searchText={"Search.."}
        onDebounce={handleDebounce}
      ></DebounceSearch>
    )
  }
}
```

## Apis

```
1) searchText (optional) - a default text that you want to apply for search
2) onDebounce - this will return a function that have debounce value as an argument parameter.
```

## Css

```
1) Create a class named `debounce-search`
2) Add all you css to this class to apply your design in textbox.
```

## License

MIT © [ketanbodarya](https://github.com/ketanbodarya) & [savaliyanidhi](https://github.com/savaliyanidhi) & [parth-gondaliya](https://github.com/parth-gondaliya)

---
_Source: https://npm.io/package/reactjs-debounce · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
