feathers-action-creators
v1.0.0
Published
redux action creators for feathers services
Downloads
2
Maintainers
Readme
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