~/talk

GraphQL And React Native - The urql Edition

Talkat React Native EU 2020 · 2020-09-03..09-04· [react-native, graphql]
slides:none on file

Compares urql to Apollo for React Native and shows concrete patterns: use the dedupe → cache → fetch exchange chain, implement an auth exchange with pre-fetched token (avoid async-per-request storage to stop "fired with no listeners" leaks by initializing a token promise inside the exchange and pausing queries until resolved), and rely on graphcache auto-updates mutations to avoid refetchQueries. Demonstrates React Native devtools working, graphcache offline beta, and that this setup reduces Redux boilerplate and network chatter.

AI-written summary · about

  1. 0:00Introduction
  2. 0:32About Kadi
  3. 1:00Agenda
  4. 1:22What this talk isnt about
  5. 1:52Why use GraphQL with React Native
  6. 4:40GraphQL clients
  7. 5:44My experience
  8. 6:34What is urql
  9. 8:36Querying data
  10. 10:18Exchanges
  11. 12:47Noop Exchange
  12. 13:23Auth Exchange
  13. 15:29Stateful Exchange
  14. 16:13OAuth Exchange
  15. 16:43Caching
  16. 18:35Cash Invalidation
  17. 19:14GraphQL Cache
  18. 19:41Cache Updates
  19. 20:20Refetch Queries
  20. 21:00Update Queries
  21. 21:43Update Cache
  22. 22:10How it works
  23. 22:51Dynamic key
  24. 24:59Offline support
  25. 25:52Devtools
  26. 26:08Add Devtools
  27. 26:38Launch Oracle Devtools
  28. 27:20Events
  29. 27:49GraphQL Playground
  30. 28:27Summary
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.