Turning an Application UI into an API
summary
Describes how Twilio builds Flex as a UI-first product but exposes a concrete component API: every programmable component has static methods messageBubble.add/remove/replace which store fragments, apply sortOrder, and prune by key before render; an action framework: before/after/replace lets callers abort, observe, or swap handlers while receiving original payload and handler. Shows a live Tetris demo that removes and injects deep components, swaps cell rendering, and wires control via WhatsApp — the approach works in production.
AI-written summary · about
chapters (8)
- 0:00Start
- 0:35Turning an Application Ui into an Api
- 2:48What Exactly Is an Api
- 5:07Twilio Flex
- 7:19Compound Components
- 14:20Action Framework
- 17:23Demo
- 21:34Add the Matrix
related talks
29mTurning an Application UI into an API
18mUI as API
25mHow are APIs changing the game in the contact center ecosystem ?
27mWhat does the future of communication APIs look like?
19mAPIs are The New Dial Tone
07mTwilio Programmable Chat API
34mFunctional UIs and Unidirectional Dataflow
01h 01mBuilding fun and creative messaging experiences on WhatsApp
