How I Stopped Depending on the Design System and Invented MVVM
summary
The talk explains migrating an app to a new design system with three constraints: it must be toggled by feature flag, must allow adding another design system later, and must allow customizing parts. The solution removed project-specific coupling and turned the app into a customizable builder implemented as MVVM plus headless-component–like patterns, and then shows an additional feature implemented on that MVVM split between models and views to demonstrate the benefits.
AI-written summary · about
chapters (29)
- 0:00Introduction
- 1:45Why MVVM was invented
- 3:14Design system problems
- 4:35First solution attempts
- 6:01Logic into hooks
- 6:45Headless components
- 8:11Contracts and tokens
- 9:36Data provider layer
- 11:44Final architecture
- 13:49Tokens as props
- 14:54Introducing blocks
- 16:20MVVM structure summary
- 17:47MVVM benefits
- 19:54Typing contracts
- 21:18Customization with overrides
- 25:55Live demo
- 26:36Demo: Change UI
- 27:40Demo: Switch systems
- 28:45Demo: Hide UI
- 30:13Code: Contracts and types
- 31:41Code: Data provider
- 33:06Code: Widget
- 34:09Code: Tokens and overrides
- 35:35Logic in UI
- 36:16Simplify approach
- 36:59Avoid UI logic
- 38:43Visibility via data
- 40:33Refactor layouts
- 40:54Q&A
