Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix typo #2797

Merged
merged 2 commits into from
Feb 13, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ enum Destination {
24 lines of code has become 6. The `@Reducer` macro can now be applied to an _enum_ where each
case holds onto the reducer that governs the logic and behavior for that case.

> Note: If the parent feature has equatable state, you must extend the the generated `State` of the
> Note: If the parent feature has equatable state, you must extend the generated `State` of the
> enum reducer to be `Equatable` as well. Due to a bug in Swift 5.9 that prevents this from being
> done in the same file with an explicit extension, we provide the following configuration options,
> ``Reducer(state:action:)``, instead, which can be told which synthesized conformances to apply:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -217,8 +217,8 @@
enum drives the sheet and alert.

@Step {
When you model all of your destinations in a single optional values, you start by scoping to
the destination domain and then you further scope into the the state and action cases
When you model all of your destinations in a single optional value, you start by scoping to
the destination domain and then you further scope into the state and action cases
associated with the specific destination using familiar key path dot-chaining syntax. This
can be done with familiar dot syntax because the
``ComposableArchitecture/Reducer()`` macro applies the `@CasePathable` macro to each enum.
Expand Down