Skip to content

Synchronous reduce/dispatch

Latest
Compare
Choose a tag to compare
@1gravity 1gravity released this 29 Jun 19:15
a911759
  • When triggered from initializers and thunks, reducers run "synchronously" now. This solves the problem in thunks/reducers if they dispatch actions or reduce state directly and expect getState() to return the reduced value which isn't always the case if reducers run asynchronously. With "synchronous" we mean that the execution of the thunk/initializer is suspended till the reducer has actually run (it's still queued and executed asynchronously)
  • Fix a race condition when using a viewModelScope to control the Bloc's lifecycle
  • Several library updates