Relay and Falcor — The Future?
summary
Falcor models client-server data as a JSON Graph with references, atoms, idempotent set operations and server-side functions so clients can request slices and follow references to reduce round trips. Relay (built on GraphQL and tied to React) uses typed schemas, fragments, container components, a local store with cursor-based pagination and a detailed mutation API that supports optimistic updates and request batching, but requires explicit cache and mutation handling.
AI-written summary · about
chapters (26)
- 0:00Data management intro
- 3:15Falcor key concepts
- 5:27Falcor graph structure
- 7:16Falcor data flow
- 9:03Falcor models and helpers
- 10:14Updating data in Falcor
- 11:18Falcor functions and RPC
- 12:47Falcor flexibility
- 13:10GraphQL intro
- 13:58GraphQL query examples
- 15:03GraphQL fragments and aliases
- 16:04GraphQL mutations
- 17:08GraphQL type system
- 18:14GraphQL deprecation and introspection
- 19:18GraphQL server setup
- 21:25Relay intro
- 22:50Relay components and queries
- 24:40Relay pagination
- 25:50Relay containers
- 26:56Relay mutations
- 29:02Optimistic updates in Relay
- 30:48Relay validation and tooling
- 31:30GraphQL debugging tools
- 32:34GraphQL and Falcor future
- 33:16GraphQL and Falcor benefits
- 34:00Q&A
