Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Debounce any redux action-creator

License

NotificationsYou must be signed in to change notification settings

articulate/dampen

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

npm versionnpm downloadsBuild StatusCoverage Status

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

Stars

Watchers

Forks

Packages

No packages published

[8]ページ先頭

©2009-2025 Movatter.jp