vslutov / of-type

Operator ofType for redux-observable, compatible with redux-batch-middleware

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

@vslutov/of-type

Build Status npm version Greenkeeper badge Coverage Status JavaScript Style Guide

Operator ofType for redux-observable, compatible with redux-batch-middleware

Install

npm install @vslutov/of-type

Code example

import { ofType } from '@vslutov/of-type'

const setProp = createAction('PROP/SET')

const propEpic = action$ => action$.pipe(
  ofType(setProp, /* other actions */),
  // do something usefull
)

About

Operator ofType for redux-observable, compatible with redux-batch-middleware

License:GNU General Public License v3.0


Languages

Language:JavaScript 100.0%