Skip to content

jmakeig/redux-thunk-scaffolding

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Generate scaffolding for asynchronous Redux actions, in the style of redux-thunk middleware.

Usage

Usage:

	./thunk verb noun

For example, “fetch” and “bone” will result in a fetchBone(bone) 
action creator and a BONE_FETCH_RECEIPT constant, among others. 
Use lowerCamelCase for compound words, such as “dogBone”.

Typically you’d pipe stdout to your clipboard and paste into 
where your actions are stored.

	./thunk fetch bone | pbcopy # OS X
	./thunk fetch bone >> my-actions.js

About

Simple code generator for Redux asynchronous thunk actions

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published