Important: This documentation covers Yarn 1 (Classic).
For Yarn 2+ docs and migration guide, see yarnpkg.com.

Package detail

debounce-redux-dispatch

RemeJuan16MIT1.0.3

Debounce Redux Dispatch

debounce-redux-dispatch, redux-thunk, redux-action, redux-dispatch, react-helper, debounce, react, javascript, js, tool, utility

readme

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: