The astx-redux-util library promotes several redux reducer composition utilities, which blend multiple reducers together forming a richer abstraction through functional decomposition (i.e. higher-order functions).
Reducer composition is not new. Redux itself provides the innovative combineReducers utility which allows you to fuse individual reducers together to build up the overall shape of your application state.
The most prevalent astx-redux-util utility is
which lets you combine sub-reducers in such a way as to eliminate
the switch statement commonly used to delineate action type.
Additionally, astx-redux-util promotes other reducer compositions that can be used in conjunction with one another.
At a Glance
Getting Started... installation and access
A Most Excellent Example... a more complete example employing many of the astx-redux-util utility functions
API Reference... details the low-level functional API
originalReducerState... a sidebar discussion of originalReducerState
Extending astx-redux-util... how would one extend astx-redux-util?
Logging Extension... a concrete example of reducer-based centralized logging ("smarter logging")