redux-user-actions
v1.1.0
Published
Associate redux actions with the user who triggered/authored them.
Downloads
8
Readme
redux-user-actions
Associate redux actions with the user who triggered/authored them.
Usage
Attach User Middleware
The middleware comes with default config.
import { attachUser } from 'redux-user-actions'
const middlewares = [thunk, attachUser()]
The result of the attachUser function is configured middlware that can be used in your middleware list alongside any others.