Instacart's Caper team migrated their Android smart cart app from Fragments to Jetpack Compose using a four-phase strategy. AI coding assistants accelerated the migration by 5-7x, reducing what was planned as a multi-quarter effort. The approach involved: implicit Fragment hosts, type-safe navigation with Kotlin DSL,

12m read timeFrom tech.instacart.com
Post cover image
Table of contents
IntroductionThe Four-Phase Migration StrategyPhase 1: Implicit Fragment HostsPhase 2: Type-Safe NavigationPhase 3: Fragment to Compose MigrationGet Matt Kranzler ’s stories in your inboxPrinciples for AI-Assisted RefactoringWhat’s NextConclusion

Sort: