asapo
asapo
First, I think, you need to manage the state of the child's Reactor in the parent. And how about telling to the child about it? ```swift class MedicalConditionSelectionReactor: Reactor {...
You can use different reactors for reused cells by disposing previous subscriptions. ```swift class HCheckBoxTableViewCell: TableViewCell { // ... private(set) var disposeBag = DisposeBag() override func prepareForReuse() { super.prepareForReuse() disposeBag...
Ah, OK. I think, the Reactor is designed to be assigned to a single View. It is limited by `View` protocol. https://github.com/ReactorKit/ReactorKit/blob/2592a48d275d7aaba4660a195cd99c0a62df6833/Sources/ReactorKit/View.swift#L21-L22 Why do you want to associate multiple Reactors...
To do that, you might want to create a `Container View` to associate with a specific Reactor. And attach a common view to that `Container View`. The common view is...
There are many challenges to solving your problem. To summarize what I'm trying to say, here's the code. I hope this helps. ```swift import ReactorKit import RxCocoa import UIKit class...
Does anyone have any example about middleware?