DEV Community

Kayut
Kayut

Posted on

2

Which react-redux-thunk boilerplate do you recommend?

creact-create-app is a great starting point for creating a react app, but once you need to add react-redux to your project, you have to write a lot of code and repeat this in each project again and again.

I wish there was a create-react-app command that could create an app which includes also the react-redux parts such as a store file, a reducer folder with an index.js in it, action, thunk etc.

Or is there any good boilerplate, which I can use? Which boilerplate do you recommend?

What do you do to minimise writing repetitive code in a react-redux project?

Top comments (3)

Collapse
 
mescalito profile image
Nico • Edited

this one looks ok if you like axios:
github.com/shanky101/redux-thunk-b...

This one as well, with just fetch (no axios)
github.com/MudOnTire/react-redux-t...

Collapse
 
guptaji6 profile image
Ayush Gupta

I wish someone had answered this ☹

Collapse
 
arung86 profile image
Arun Kumar G

@Ayush,
Just curios to know, did you get one now? or what did you end up doing.
I know its already months now, I see your post today while I was browsing for redux-thunk

AWS Security LIVE!

Join us for AWS Security LIVE!

Discover the future of cloud security. Tune in live for trends, tips, and solutions from AWS and AWS Partners.

Learn More

👋 Kindness is contagious

Please leave a ❤️ or a friendly comment on this post if you found it helpful!

Okay