Skip to content

Releases: azmenak/use-saga-reducer

v3.0.0

09 Jan 22:31
Compare
Choose a tag to compare

Breaking Change

  • value in SagaProvider has been renamed to context
// v2
<SagaProvider value={globalValue}>
// v3
<SageProvider context={globalValue}>

New Features

  • SagaProvider now support all the optional properties that can be passed into runSaga
  • export makeCustomEffect method to make redux-saga style effects

v2.0.0

20 Dec 23:41
Compare
Choose a tag to compare

Major bump as this is technically a breaking change, this should not effect most uses.

  • Updates the store using useEffect rather then useLayoutEffect
  • Now dispatches saga channel actions on the microtasks queue

v1.1.1

20 Dec 21:03
Compare
Choose a tag to compare

Fix for #1

v1.1.0

20 Dec 20:46
Compare
Choose a tag to compare

Adds SagaProvider export to allow the option to pass context to sagas used in useSagaReducer