SBA- Journey to a New Architecture
summary
Pinterest replaces flexible MVP with a concrete State-Based Architecture (SBA) that enforces sealed-event schemas per feature, an event handler as the only state mutator, and side effect managers to isolate networking, DB, and navigation. Claims: unit-testable pure logic, predictable display states, easier debugging; rollout status: built and validated with early adopters (step 3), performance parity proven. Trade-offs: heavy onboarding, wrapper boilerplate for reusable events, coordination overhead, and an open Pareto-test hypothesis; surprisingly, Copilot already helps generate tests and handlers.
AI-written summary · about
chapters (6)
- 0:00Introduction to SBA
- 3:22Background and MVP challenges
- 11:52What is State-Based Architecture
- 26:39SBA implementation details
- 29:11Pros and cons of SBA
- 39:43Five organizational lessons
related talks
38mArchitecture Agnostic UI Development
44mAI Architecture Thinking: From Idea to Impact
31mArchitectural journey
50mTowards an Evolutionary Architecture
01h 03mEvolutionary Software Architectures
51mMicroProcess Architectures: Planning for Change, & Retaining Flexibility
57mSoftware Architecture: The Hard Parts
51mA testable architecture
