Reflex: an architecture for building mobile apps with agents
Case study 17 min +170 XP
Reflex is Shopify's MVVM architecture for native Swift and Kotlin apps built largely by agents.
Reflex is Shopify's MVVM architecture for native Swift and Kotlin apps built largely by agents.
Shopify rebuilt its iOS analytics widgets natively in SwiftUI rather than React Native, because app extensions have tight memory limits, WidgetKit serializes SwiftUI view hierarchies, and React Native had no official widget support.
Swift structs lack Kotlin data class's copy function, so mimicking immutable state updates requires boilerplate.