Newly Pregnant Mom

    falcor-redux

    0.0.2 • Public • Published

    falcor-redux

    Redux binding for dispatching Falcor methods.

    Heavily inspired by react-router-redux.

    Installation

    npm install falcor-redux --save
    

    Usage

    import {falcorActions, falcorMiddleware} from 'falcor-redux'
    import {Model} from 'falcor'
    import rootReducer from '<project-path>/reducers'
     
    const falcor = new Model({...})
     
    const store = createStore(
      rootReducer,
      applyMiddleware(falcorMiddleware(falcor)),
    )
     
    store.dispatch(falcorActions.get(['some', 'path']))

    Keywords

    Install

    npm i falcor-redux

    DownloadsWeekly Downloads

    2

    Version

    0.0.2

    License

    MIT

    Last publish

    Collaborators

    • ratson