Deprecations
Review unsupported reducer APIs and their replacements.
Overview
Avoid using deprecated APIs in your app. Select a method to see the replacement that you should use instead.
Deprecated methods
Reducer/ifLet(_:action:then:fileID:filePath:line:column:)-2jank
Reducer/ifLet(_:action:destination:fileID:filePath:line:column:)-5y8z4
Reducer/ifLet(_:action:fileID:filePath:line:column:)-12kry
Reducer/ifCaseLet(_:action:then:fileID:filePath:line:column:)-403y9
Reducer/forEach(_:action:element:fileID:filePath:line:column:)-o1gn
Reducer/forEach(_:action:destination:fileID:filePath:line:column:)-74erx
func onChange<V, R>(of: @escaping (State) -> V, removeDuplicates: @escaping (V, V) -> Bool, @escaping (_ oldValue: V, _ newValue: V) -> R
) -> _OnChangeReducer<Self, V, R> Adds a reducer to run when this reducer changes the given value in state.
Enum reducers
struct _SynthesizedConformance
A description of a protocol conformance to synthesize on the State and Action types generated by the
Reducer
macro.