Replies: 2 comments
-
I use public var body: some ReducerProtocolOf<Self> {
Reduce<State, Action> { _, action in
switch action {
case .closeButtonTapped:
return .none
}
}
._printChanges()
} |
Beta Was this translation helpful? Give feedback.
0 replies
-
Thanks @Armenm, that worked beautifully 👍 |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Could somebody help me out with debugging TCA when I use reducer structure like below:
I would like to stick
.debug()
somewhere here to see what actions are flying around. But get errors.Maybe there is a simple way to convert it into the
var reducer =
which would work with.debug()
Beta Was this translation helpful? Give feedback.
All reactions