redux-whathappened
v1.1.4
Published
Redux middleware, that records user's actions and saves into a file, that can be exported for further debugging
Downloads
15
Maintainers
Readme
redux-whathappend
Redux middleware, that records user's actions and saves into a file, that can be exported for further debugging
Table of contents
Install
npm i --save redux-whathappend
Usage
Adding to store
import { applyMiddleware, createStore } from 'redux';
// apply redux-whathappend
import whathappend from 'redux-whathappend'
const store = createStore(
reducer,
applyMiddleware(whathappend)
)
Exporting report
To export a report of user's actions, just call an action with type
WHAT_HAPPEND_REPORT
Feedback
Feel free to create an issue or a question in the github repo
https://github.com/max-prokopenko/redux-whathappend
License
MIT