redux-with-meta
v1.1.0
Published
Add meta to an action
Downloads
1
Readme
Redux withMeta
This package contains a single function withMeta
that can be used to add metadata to a Redux action creator.
Plain action as well as Thunk action are supported.
Example
import withMeta from 'redux-with-meta';
import { myAction } from './actions/myAction';
...
const actionWithMeta = withMeta({myMeta: "some meta info"})(myAction);