Skip to content

Commit f05ac83

Browse files
authored
Merge branch 'main' into core
2 parents 31b0755 + 7b2e742 commit f05ac83

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -699,7 +699,7 @@ This library is released under the MIT license. See [LICENSE](LICENSE) for detai
699699
[gh-isowords]: https://github.com/pointfreeco/isowords
700700
[gh-discussions]: https://github.com/pointfreeco/swift-composable-architecture/discussions
701701
[swift-forum]: https://forums.swift.org/c/related-projects/swift-composable-architecture
702-
[testing-article]: https://pointfreeco.github.io/swift-composable-architecture/main/documentation/composablearchitecture/testing
702+
[testing-article]: https://pointfreeco.github.io/swift-composable-architecture/main/documentation/composablearchitecture/testingtca
703703
[faq-article]: https://pointfreeco.github.io/swift-composable-architecture/main/documentation/composablearchitecture/faq
704704
[dependencies-article]: https://pointfreeco.github.io/swift-composable-architecture/main/documentation/composablearchitecture/dependencymanagement
705705
[getting-started-article]: https://pointfreeco.github.io/swift-composable-architecture/main/documentation/composablearchitecture/gettingstarted

Sources/ComposableArchitecture/Documentation.docc/Articles/Performance.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -199,8 +199,7 @@ Instead, we recommend invoking the child reducer directly:
199199

200200
```swift
201201
case .buttonTapped:
202-
return Child().reduce(into: &state.child, action: .refresh)
203-
.map(Action.child)
202+
return reduce(into: &state, action: .child(.refresh))
204203
```
205204

206205
### CPU intensive calculations

0 commit comments

Comments
 (0)