A simple logger for React Hooks
Inspired by Redux Logger
1 min readFeb 20, 2019
I love the simplicity of React hooks. With useReducer
you get the power of the flux
architecture pattern and the simplicity of hooks. One advantage that Redux has over useReducer
is all of the middleware available for it. So I built a very basic logger inspired by Redux Logger for use with hooks: