feathers-action-creators

1.0.0 • Public • Published

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

/feathers-action-creators/

    Package Sidebar

    Install

    npm i feathers-action-creators

    Weekly Downloads

    1

    Version

    1.0.0

    License

    ISC

    Last publish

    Collaborators

    • ahdinosaur