1.1.0 • Published 6 years ago

redux-user-actions v1.1.0

Weekly downloads
16
License
-
Repository
github
Last release
6 years ago

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.