Skip to content
This repository has been archived by the owner on Sep 12, 2020. It is now read-only.

Releases: bmealhouse/next-redux-saga

Major bugfix for server side rendering (SSR)

13 Nov 18:23
Compare
Choose a tag to compare

23ee4e9 document rootSaga run condition
7784a7e add root saga run condition to tests
3fb6a59 add jest coveragePathIgnorePatterns

v4.0.2

08 May 21:11
Compare
Choose a tag to compare

Patches

v4.0.1

17 Feb 20:59
Compare
Choose a tag to compare

Patches

v4.0.0

13 Feb 23:46
Compare
Choose a tag to compare

Major Changes

API changes

Create store

In v4, runSagaTask is no longer necessary.

// v4
// -------
store.sagaTask = sagaMiddleware.run(rootSaga)

// v3
// -------
store.runSagaTask = () => {
  store.sagaTask = sagaMiddleware.run(rootSaga)
}
store.runSagaTask()

Usage

In v4, there are no configuration options. withReduxSaga will always run in async mode.

// v4
// -------
withReduxSaga(ExamplePage) // async mode

// v3
// -------
withReduxSaga(ExamplePage) // sync mode
withReduxSaga({async: true})(ExamplePage) // async mode

v3.0.0

14 Sep 01:35
Compare
Choose a tag to compare

Patches

  • Update docs (closes #15): e5f039f
  • Fix dev tools and update dependencies: 37620c9
  • Remove beta install from docs: 69c4991

v3.0.0-beta.2

12 May 13:14
Compare
Choose a tag to compare
v3.0.0-beta.2 Pre-release
Pre-release

Patches

v3.0.0-beta.1

08 May 06:19
Compare
Choose a tag to compare
v3.0.0-beta.1 Pre-release
Pre-release

Major Changes

  • Adjust HOC to support Next.js v6: ae9df02

v2.0.1

31 Jan 21:39
Compare
Choose a tag to compare

Patches

  • Remove peer dependencies: c6cbf9e

v2.0.0

31 Jan 20:56
Compare
Choose a tag to compare

Major Changes

  • End task on client-side by default (sync mode)
  • Provide backwards compatibility for asynchronous behavior

See README for full documentation.

// sync mode (default)
withReduxSaga(ExamplePage)

// async mode (backwards compatibility)
withReduxSaga({async: true})(ExamplePage)

v1.0.1

12 Jul 20:54
Compare
Choose a tag to compare
v1.0.1