debounce-redux-dispatch

1.0.3 • Public • Published

Debounce Redux Dispatch

Debounce Redux Dispatch

Nodei.co badge
Travis CI Build Status NPM version NPM downloads Dependency Status

Instalation

Note: Designed for use with React Redux

yarn add debounce-redux-dispatch

or

npm install debounce-redux-dispatch

Usage

import { connect } from 'react-redux';
import { search } from './thunks';
 
import asyncDebounced from 'debounce-redux-dispatch';
 
...
 
const mapDispatchToProps = dispatch => ({
  triggerSearch(query) {
    dispatch(asyncDebounced(search, 1000, query));
  }
});
 
...

History

Discover the release history by heading on over to the releases page.

License

Unless stated otherwise all works are:

and licensed under:

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 1.0.3
    5
    • latest

Version History

  • Version
    Downloads (Last 7 Days)
    • Published
  • 1.0.3
    5
  • 1.0.2
    2
  • 1.0.0
    2

Package Sidebar

Install

npm i debounce-redux-dispatch

Weekly Downloads

9

Version

1.0.3

License

MIT

Unpacked Size

191 kB

Total Files

11

Last publish

Collaborators

  • remejuan