UIKit NavigateAndLoad
does not work
#1806
-
I'm using TCA with UIKit. my child reducer doesn't receive any action from view. so i've tried it with official UIKitCaseStudies - NavigateAndLoad (EagerNavigation Reducer) on and it still doesn't work. is it TCA bug? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 3 replies
-
There likely was an omission when converting this study to the |
Beta Was this translation helpful? Give feedback.
There likely was an omission when converting this study to the
Reducer
protocol. I've submitted a PR to fix this in #1807. It consists in making sure that you embed your child reducer into the parent, here with anifLet
reducer modifier.I'm not sure this is what's happening in your case, but forgetting to embed a child into a parent (with
ifLet
,forEach
,Scope
, …) is usually the principal reason for unresponsive or "dead" child features.