- Notifications
You must be signed in to change notification settings - Fork1
Debounce any redux action-creator
License
NotificationsYou must be signed in to change notification settings
articulate/dampen
Folders and files
| Name | Name | Last commit message | Last commit date | |
|---|---|---|---|---|
Repository files navigation
Debounce any redux action-creator.
constdampen=require('dampen')constupdate=dampen(250,payload=>({type:'UPDATE', payload}))// elsewhere...dispatch(update('one'))dispatch(update('two'))dispatch(update('three'))// only { type: 'UPDATE', payload: 'three' }// will be dispatched after 250ms
Requiresredux-thunk ornative support for thunks to function properly.
About
Debounce any redux action-creator
Topics
Resources
License
Security policy
Uh oh!
There was an error while loading.Please reload this page.
Stars
Watchers
Forks
Packages0
No packages published
Uh oh!
There was an error while loading.Please reload this page.