RxSwift without [weak self]
Some scenarios like login feature, We have accountTextField, passwordTextField, and login button on the screen, while user tap login button We will call API with input account and password for login request parameter like this (Which is not reactive enough and need [weak self] 😈).
We can use combineLatest(resultSelector: ) and modify to this (We prevent using [weak self] cause capture self is no need 👼 )
Don’t forget using .throttle for the tap action.