Swift + Redux + (Combine|RxSwift|ReactiveSwift) -> SwiftRex
@npvisual fix for .promise expecting escaping closure so it can perform its work async.
Fix SPM warning about min target version
This release fixes a critical retain cycle that could make the ObservableViewModels to not be freed and it's recommended by anyone using CombineRex in a SwiftUI app.
Middleware is usually alive while the app is alive, so in the case of this memory leak it was not necessarily a huge problem for most cases, but this can be a huge problem for unit tests, so this fix is important and this hotfix should be applied in case you use ReduxStoreBase with a middleware in your unit tests.
ObservableViewModel to not be final class anymore, so custom view model code can be added to it, such as calculated properties, publishers or temporary view state for gestures such as DragGesture, that might wanted to be throttled before sent to the Store in some cases.
Making it open to allow that.
Swift 5.2 was already set in the project, now it's also in CocoaPods manifest to fix inconsistency.
ObservableViewModel to not be final class anymore, so custom view model code can be added to it, such as calculated properties, publishers or temporary view state for gestures such as DragGesture, that might wanted to be throttled before sent to the Store in some cases.