Skip to content
This repository has been archived by the owner on Jun 6, 2022. It is now read-only.

ahdinosaur/feathers-action-creators

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

feathers-action-creators

create redux action creators to be reduced by feathers reducer

install

with npm:

npm install --save feathers-action-creators

relies on redux-thunk being applied in your redux middleware.

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

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Packages

No packages published