Add Meta Data to a Redux Action with redux-actions

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
~ 6 years ago

Awesome Course!

Manjunath
Manjunath
~ 6 years ago

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

Andy Van Slaars
Andy Van Slaars(instructor)
~ 6 years ago

Thanks, Max!

Andy Van Slaars
Andy Van Slaars(instructor)
~ 6 years ago

Thanks, Manjunath!