1.0.0 • Published 8 years ago
feathers-action-creators v1.0.0
feathers-action-creators
create redux action creators to be reduced by feathers reducer
install
with npm:
npm install --save feathers-action-creators
api
createActionCreators(serviceName, config)
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
1.0.0
8 years ago