create a redux reducer to handle feathers actions
with npm:
npm install --save feathers-action-reducer
given the following arguments:
serviceName
: a requiredString
describing the name of the feathers service (e.g. 'todos')config
: an requiredObject
config.update
: a requiredFunction
that implements an interface compatible toreact-addons-update
, such asupdate-object
ortcomb/lib/update
config.key
: an optionalString
that describes the default key (e.g. 'id')
returns a redux reducer Function
- keep track of action status (busy, pending, ...)
- handle errors