Skip to content

4.2.0

Compare
Choose a tag to compare
@zewish zewish released this 19 Nov 06:37
· 18 commits to master since this release

Adds a new option, called initActionType which allows for asynchronous initialization after init action is dispatched. This is used in special cases whenever you want to do something before state gets rehydrated and persisted automatically (e.g. preload your state from SSR, then fire the init action like next-redux-wrapper does).

This is a non-breaking change - the new option is disabled by default, so nothing changes for existing users.