Designing a Flexible UI Architecture with React and GraphQL
summary
A schema-driven UI is implemented with React, Redux, TypeScript, GraphQL and an Apollo + Redis cache to ship a UI schema that encodes validation, display hints, and attribute relationships. The system handles cached human-friendly values to avoid hundreds of browser requests, supports manage up to 200 items in a session with optimistic, batched saves, reduces attribute rollout from months to minutes, requires ~1 year of effort and ~1,000 tests, and successfully prevents many class-of-data-quality bugs.
AI-written summary · about
chapters (15)
- 0:00Intro
- 5:15ITEM DATA IS COMPLEX
- 7:52CHALLENGES
- 14:14RETHINKING ITEM DATA
- 16:08DATA SCHEMA
- 21:25A SCHEMA-DRIVEN UI
- 22:52HIGH-LEVEL ARCHITECTURE
- 25:51DATA RESOLUTION
- 29:53SCHEMA ENGINE
- 33:32WHY GRAPHQL?
- 40:59DYNAMIC RENDERING
- 46:09RELATIONSHIP SEMANTICS
- 48:14MULTI-ITEM HANDLING
- 51:48ASYNC AND OPTIMISTIC
- 58:45WHERE CAN YOU START?
related talks
23mOptimistic UI updates with Apollo Client and React
52mState management in a GraphQL era
28mSchema-Driven UI Components: Innovating Headless ERP
58mCrafting compelling real-time web experiences with GraphQL and React
18mServer-Driven UI: Building Dynamic React Applications
25mReact state management in a GraphQL era
55mFront-End Independence with GraphQL and Redux
30mReact state management in a GraphQL era
