Open sirvon opened 6 years ago
It's good to use Dependency Injection in Production to make you code testable with unit tests.
Once you have same struct Dependencies
you can add one more property for application store. Then you can pass dependencies object to other objects which need to use store. Then in unit tests you can create mock store for your tests.
Thank You for sharing your findings.
In many ReSwift projects the author says, as you have...
Where to put the State object store in Production project?