Skip to content

redux-saga-requests v0.12.0

Compare
Choose a tag to compare
@klis87 klis87 released this 16 Mar 18:19
· 558 commits to master since this release

Added an optional requestsPromiseMiddleware, which promisifies request actions so you can wait for them to resolve from React components - see README for more info.

Apart from this:

  • BREAKING - standardized request action structure - previously it was { type: 'A_TYPE', request: {} } or { type: 'A_TYPE', requests: [{}, {}] }, now batched request also go into request key - { type: 'A_TYPE', request: [{}, {}] }
  • fixed UMD bundle - removed redux-saga from the bundle, which was there due to Webpack misconfiguration