npm redux-saga 0.14.3
v0.14.3

latest releases: 1.3.0, 1.2.3, 1.2.2...
7 years ago

This small update allows you to integrate better with some other redux libraries, like redux-actions and redux-act.

For the users of those it is now possible to omit maintaining action constants only for the sake's of redux-saga and they can use created actions as patterns for the take effect like this:

import { createAction } from 'redux-actions'

const increment = createAction('INCREMENT', amount => amount) // typeof increment === 'function'

// ...
yield take(increment)

It means that you can pass an action creator function with custom .toString() method on it and it can be checked by redux-saga against dispatched actions' types.

Special thanks for this goes to @thezanke

Also - finally the build for rollup should be fixed (public export of CHANNEL_END got fixed).

Don't miss a new redux-saga release

NewReleases is sending notifications on new releases.