import riduce from 'riduce'
riduce(initialState, riducerDict?)initialState: anyThe initial Tree state of the resultant reducer.
riducerDict (optional): objectTypeScript: RiducerDict (type)
Custom reducer logic: see riducerDict and customRiducer
An array with two elements:
reducer (function)TypeScript: Reducer (type)
The reducer function (for createStore or useReducer)
actions (object)TypeScript: ActionsProxy (type)
The actions object (for creating actions to be dispatched)