Unidirectional Data Flow in Swift via FRP - Inspired by Elm
API Changes:
concatReducers
to allow passing an array explicitly rather than an implicit variadic list.Breaking API Changes:
SubscriptionReferenceType
is no longer represented as Optional
when returned from subscriptions.API Changes:
concatReducers
function to allow for easy concatenation of reducers.dispatch
functions on Store
from public to open.API Changes:
dispatch(_ stream:)
now returns a subscription reference.This release is updated to work with Swift 4.
Breaking API Changes:
StateType
- @QataBreaking API Changes:
Reducer
to a generic function type - @QataAPI Changes:
Middleware.increase(_:)
to Middleware.flatMap(_:)
- @QataMiddleware.sideEffect(_:)
supply an escaping dispatch function - @QataAPI Changes:
Breaking API Changes:
observable
, whose setter is now private - @QataBreaking API Changes:
stateType:
label from Store.init
(this was required for StoreType to work) - @QataAPI Changes:
dispatchQueue:
argument to the initialiser. The queue is a DispatchQueue which is used as the execution context for - @Qatamap(_:)
, distinct(_:)
and distinct()
to ObservableProperty
- @QataAPI Changes:
increase
method to Middleware
, allowing you to transform one action into many - @QataBug Fixes: