Back to Swift Composable Architecture

Deprecations

Sources/ComposableArchitecture/Documentation.docc/Extensions/Deprecations/ReducerDeprecations.md

1.25.5766 B
Original Source

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.

Topics

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
  • Reducer/onChange(of:removeDuplicates:_:)

Enum reducers

  • _SynthesizedConformance