🎉 Black Friday Sale! Save 30% when you subscribe today.

Dependency Injection Made Modular

Episode #92 • Feb 24, 2020 • Subscriber-Only

Now that we’ve baked the “environment” of dependencies directly into the Composable Architecture, we’re ready to refactor our app’s frameworks and tests to work with them in a modular and more lightweight way.

Previous episode
Dependency Injection Made Modular
Next episode
Locked

Unlock This Episode

Our Free plan includes 1 subscriber-only episode of your choice, plus weekly updates from our newsletter.

Sign in with GitHub

Introduction

The ComposableArchitecture is now building again, but we have greatly simplified the API of the Store type.

Now let’s get the rest of the app building.

Luckily the app is fully modularized, and so we can start with our simplest modules that have the fewest dependencies, and work our way back to the main app target. Also lucky for us is that we are already using the environment technique in our code, and that will make converting to this new style very easy.

Using the architecture’s environment


References

Downloads

Get started with our free plan

Our free plan includes 1 subscriber-only episode of your choice, access to 64 free episodes with transcripts and code samples, and weekly updates from our newsletter.

View plans and pricing