Negotiate Pushing Milestone

    @seedrs/redux-sagas

    1.5.0 • Public • Published

    @seedrs/redux-sagas

    npm version Build status semantic-release

    A package for reusable sagas.

    Setup

    # With yarn (preferred) 
    yarn add @seedrs/redux-sagas
    npm i @seedrs/redux-sagas --save

    Usage

    To use the sagas, you can import them as named imports.

    For example:

    import { takeEvery } from 'redux-saga/effects';
    import { apiRequest } from '@seedrs/redux-sagas';
    import { GET_BOOKS_REQUEST } from 'constants/books';
    import actions from 'actions/books';
     
    const saga = function* () {
      yield takeEvery(GET_BOOKS_REQUEST, apiRequest, [
        actions.getBooksSuccess,
        actions.getBooksFailure
      ], undefined);
    };
     
    export default saga;

    For more detailed usage, use the links below:

    Keywords

    none

    Install

    npm i @seedrs/redux-sagas

    DownloadsWeekly Downloads

    20

    Version

    1.5.0

    License

    MIT

    Unpacked Size

    299 kB

    Total Files

    36

    Last publish

    Collaborators

    • j-kavanagh
    • seedrs.bot
    • benjamin_sotty
    • risheepatel
    • brizido
    • antonjseedrs
    • slrh
    • tostasmistas
    • jpxiv
    • fury252
    • seedrs1
    • filippomassarelli
    • nuclear-pasta
    • micail
    • luisrocha