npm redux-saga 0.16.0
v0.16.0

latest releases: 1.3.0, 1.2.3, 1.2.2...
6 years ago
  • added detach helper - this is used internally now by spawn to mark fork effect as detached, got exported and might be used in userland, it's useful for creating i.e. detached takeEvery
import { detach } from 'redux-saga'
import { takeEvery } from 'redux-saga/effects'

// ...

yield detach(takeEvery(ACTION_A, mightThrowSaga))
  • typings for detach got added thanks to @aikoven
  • removed #__PURE__ annotations from the source code, adding them automatically with annotate-pure-calls babel's plugin
  • made sagaStack property non-enumerable (this is attached sometimes by redux-saga to the thrown Errors)
  • unified internally error logging
  • removed annoying "saga has been cancelled" logs, didn't find a valid use case for them

Don't miss a new redux-saga release

NewReleases is sending notifications on new releases.