Skip to content

emanuelelongo/redux-with-meta

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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);

About

Add metadata to an action

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published