-
Notifications
You must be signed in to change notification settings - Fork 1.5k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Deprecate
Reducer.onChange(of:removeDuplicates:)
(#2744)
The `removeDuplicates` overload is just too tough on the compiler to resolve, so we don't think it's worth shipping in the library in the long run. SwiftUI's `View.onChange` doesn't have such an option, and adding such a signature results in the same compiler issues. Let's stick with the interface that most closely matches SwiftUI's and avoid interfaces that are problematic for the compiler.
- Loading branch information
1 parent
efc79f9
commit 63e29b3
Showing
3 changed files
with
2 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
7 changes: 0 additions & 7 deletions
7
Sources/ComposableArchitecture/Documentation.docc/Extensions/ReducerOnChange.md
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters