Become a member
to unlock all features

    Add Meta Data to a Redux Action with redux-actions


    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