Introducing Reduce Redux Boilerplate with Redux-Actions

Andy Van Slaars
InstructorAndy Van Slaars

Share this video with your friends

Send Tweet

One of the biggest complaints people tend to have about Redux is the amount of boilerplate code you end up writing to use it. It doesn't have to be that way!

Redux actions will simplify the code for our action creators and even give us a new way to create our reducers.

By using redux-actions, our application will use Flux Standard Actions, keeping the way we manage our state more consistent.

This small library only exposes a few functions for its API, so it won't take long to learn, but it will make a huge difference in how we write action creators and reducers for redux.

Steve Bond
Steve Bond
~ 3 years ago

Great course. Where can I access the code please? There was a tab for that but after I signed up it disappeared. Pretty frustrating that!

Andy Van Slaars
Andy Van Slaarsinstructor
~ 3 years ago

Steve, Here’s a link for you: https://github.com/avanslaars/redux-actions-course/

Each course with code should have a code tab that takes you to the appropriate branch. Hope this helps!

Steve Bond
Steve Bond
~ 3 years ago

Thanks Andy! Great course BTW.


Rodolfo
Rodolfo
~ 3 years ago

Thanks! this course is awesome! I'm trying to implement this with typescript, do you know about a good resource?

Andy Van Slaars
Andy Van Slaarsinstructor
~ 3 years ago

Rodolfo,

I don't have anything specific to redux-actions with TypeScript. You might find the Use TypeScript to develop React Applications course helpful for React and TypeScript. Also, there are types for redux-actions here: https://www.npmjs.com/package/@types/redux-actions. Hope this helps.