🎉 End-of-year Sale! Save 25% when you subscribe today.
Side effects are by far the most complicated part of any application. They speak to the outside world, they’re hard to control, and they’re hard to test. Any architecture should provide a concise story for where and how to introduce them. the Composable Architecture makes side effects a first class citizen so that they are easily understood, all without sacrificing simplicity or composability, and we can even leverage the Combine framework to do a lot of the heavy lifting!
The toy application we have been building to explore the Composable Architecture is now quite complex. We’ve got multiple features, each of which have been put into their own modules, and we’ve got side effects that are making network requests and interacting with the local disk. It’s probably time to write some tests right!?