1.0.0 • Published 8 years ago

feathers-action-creators v1.0.0

Weekly downloads
1
License
ISC
Repository
github
Last release
8 years ago

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 with feathers-client
  • config: an required Object
    • config.cid: a required Function that returns a unique client id, such cuid
    • config.key: an optional String that describes the default key (e.g. 'id')

returns an Object of redux action creators