feathers-react-redux

0.5.0 • Public • Published

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)

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 0.5.0
    4
    • latest

Version History

Package Sidebar

Install

npm i feathers-react-redux

Weekly Downloads

19

Version

0.5.0

License

MIT

Last publish

Collaborators

  • saiichihashimoto