create redux action creators to be reduced by feathers reducer
with npm:
npm install --save feathers-action-creators
relies on redux-thunk
being applied in your redux middleware.
given the following arguments:
service
: a required feathers service, probably withfeathers-client
config
: an requiredObject
config.cid
: a requiredFunction
that returns a unique client id, suchcuid
config.key
: an optionalString
that describes the default key (e.g. 'id')
returns an Object
of redux action creators