Architecture of a Shopify App
summary
Recommends replacing manual collections with smart collections for rule‑based scaling and faster back‑end performance; uses React + GraphQL + TypeScript with code‑splitting (dynamic import + preload) and Apollo for responsive data, plus generated TypeScript types from GraphQL files; ships UI via Polaris v2 (data table, drop zone, improved resource lists) and the Embedded App SDK to run inside the admin; advises webhooks for realtime sync, monitoring 500/403/errors and active connections, and to avoid unsupported APIs and plan app sunset.
AI-written summary · about
chapters (23)
- 0:00Introduction and setup
- 1:25Understanding merchants scale
- 2:30Smart collections at scale
- 4:14Coexisting with other apps
- 5:37Avoiding app conflicts
- 6:41Preventing update loops
- 7:42Webhooks and UX
- 9:05Monitoring your app
- 10:09Avoiding unsupported APIs
- 10:52Sunsetting your apps
- 11:35Introducing the tech stack
- 13:00Modern JavaScript and TypeScript
- 14:04Code splitting for performance
- 16:13Why use TypeScript
- 16:56Building UIs with React
- 18:40GraphQL for data queries
- 19:22Static queries and Apollo
- 20:46TypeScript with GraphQL
- 21:07Polaris UI components
- 22:11Polaris v2 updates
- 23:14Embedded app SDK
- 24:40Summary and Q&A intro
- 25:03Live Q&A session
