Skip to content
This repository has been archived by the owner on Dec 31, 2017. It is now read-only.

saiichihashimoto/feathers-react-redux

Repository files navigation

Feathers React Redux

npm version

Unofficial Feathers bindings for React-Redux.

Overview

React-Redux is great. Feathers is fantastic. feathers-react-redux aims to tie these two together.

Features

  • Redux stores mirror feathers services through reducers.
  • Dispatched actions are consistently named and follow proper Flux Standard Action conventions.
  • React Components define what they need, whether it be an initial client side load, initial server side load, or keeping up to date with feathers events.

Installation

npm install --save feathers-react-redux

This assumes that you’re using npm package manager with a module bundler like Webpack or Browserify to consume CommonJS modules.

Usage

Basic Usage

reducer(resource)

actions(app, resource)

FeathersMixin

FeathersMixin.setFeathersApp(app)
FeathersMixin.setFeathersActions(actions)
FeathersMixin.feathers(resource, options)

serverActionsReducer(state, action)

serverRender(element, store, actions, callback)

About

Unofficial Feathers bindings for React-Redux

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published