Compose is not just a UI toolkit. It is a general purpose tool for working with a trees of nodes. In this talk, I will present a library called Molecule that uses Compose to create StateFlows. I’ll go over how to set up and use the library, and dive into how it works internally. I’ll share examples of how to setup Molecule in different architectures and the benefits it provides.