case-reducer
reducer-interface instead.
!Deprecated: UseInstallation
$ npm install
Usage
const initialState = isFetching: false id: null username: null const cases = { return ...state isFetching: true } { const user = data return ...state isFetching: false ...user } initialState cases