Shared state is a tough problem to tackle in the Composable Architecture due to its preference for modeling domains with value types rather than reference types. In this section we demonstrate how to introduce reference types to a feature in a controlled manner so to embrace the pros of references without incurring their negative costs. And as a bonus, we also show how to persist application state in a lightweight manner.