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