August 2017
Beginner
374 pages
10h 41m
English
The first approach would be manually logging all actions:
const action = addPost('hello world')if (console.group) console.group(action.type)console.info('dispatching', action)store.dispatch(action)console.log('new state', store.getState())if (console.groupEnd) console.groupEnd(action.type)
However, it would be a lot of work to put this kind of logging all over our application.
Read now
Unlock full access