@KevinAst KevinAst released this Mar 10, 2017 · 68 commits to master since this release

Assets 2
  1. This release adds support for the InitialState parameter in each of the reducer composition utilities.

    This parameter optionally defines the fall-back state value used during the state initialization boot-strap process.

    In general, redux expects your state to have concrete values (i.e. something other than undefined). This means that the reduction entry point to each state element should define a default. Keeping this in mind, the InitialState parameter is optional, because some reducers are "by design" (when combined in a composition) intended to be mid-stream processors (i.e. NOT the reduction entry point).

    As is turns out, this simplifies the examples found in the astx-redux-util v0.1.0 release, in that NO app-supplied wrapper function is needed for the sole purpose of providing this initial value ... rather: the InitialState can be specified directly as a parameter to the astx-redux-util function.