1.1.0 • Published 6 years ago
redux-with-meta v1.1.0
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);