We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fa31c93 commit 021623dCopy full SHA for 021623d
Sources/ComposableArchitecture/Documentation.docc/Articles/MigratingTo1.4.md
@@ -114,6 +114,12 @@ store.receive(.child(.presented(.response(.success("Hello!")))))
114
store.receive(\.child.presented.response.success)
115
```
116
117
+And in the case of ``PresentationAction`` you can even omit the ``presented`` path component:
118
+
119
+```swift
120
+store.receive(\.child.response.success)
121
+```
122
123
This does not assert on the _data_ received in the action, but typically that is already covered
124
by the state assertion made inside the trailing closure of `receive`. And if you use this style of
125
action receiving exclusively, you can even stop conforming your action types to `Equatable`.
0 commit comments