Add Meta Data to a Redux Action with redux-actions

Andy Van Slaars
InstructorAndy Van Slaars

Share this video with your friends

Send Tweet

In this lesson, we’ll add meta data to a redux action using the optional metaCreator function argument for createAction. Attaching meta data to an action allows us to pass information that isn’t part of our payload to our reducer. In this case, we’ll use the meta property on our action to show an error message with some information specific to the action

Max Zhukov
Max Zhukov
~ 3 years ago

Awesome Course!

Manjunath
Manjunath
~ 3 years ago

Wow. I loved it so much. Thanks for sharing this.

Andy Van Slaars
Andy Van Slaarsinstructor
~ 3 years ago

Thanks, Max!

Andy Van Slaars
Andy Van Slaarsinstructor
~ 3 years ago

Thanks, Manjunath!