~/talk

Recoil: State Management for Today's React

Talkat ReactEurope 2020 · 2020-05-14..05-15· [react, frontend-architecture]
slides:none on file

Claims a small library extracted from Facebook's Comparison View that replaces hoisted state with atoms (per-item subscribable state) and selectors (pure or async derived values), demonstrates thousands-of-items rendering where only touched items update, and wires state to URLs via transaction observation and snapshots. Code uses a RecoilRoot and useRecoilState, supports async selector Promises with caching, yields fast shared state and predictable updates, and works internally for about a year but remains experimental.

AI-written summary · about

  1. 0:00Introduction
  2. 2:05Recoil
  3. 2:20Shared State
  4. 2:55State Structure
  5. 3:18React Local State
  6. 4:38React Context State
  7. 8:12Recoil Root Component
  8. 10:31Item Worth ID
  9. 10:57Canvas Item ID
  10. 11:09Highlight Renders
  11. 11:45Rendering
  12. 12:10Sharing State
  13. 12:43Derived Data
  14. 14:31Selector SelectorE
  15. 17:21SelectorH
  16. 17:41CanvasItem
  17. 17:53ID
  18. 18:10Sync
  19. 19:46Cache
  20. 19:57Appwide Observation
  21. 20:40Transaction Observation
  22. 20:58Metadata
  23. 21:12Preview
  24. 22:14Conclusion
  25. 23:11Questions
  26. 24:20Recoil vs React
  27. 25:28Redux vs Recoil
  28. 25:53Recoil Hooks
  29. 27:09Why is Recoil simpler than MobX
  30. 27:32Why are existing state management libraries incompatible
  31. 28:18What is Recoil
  32. 28:31Recoil API
  33. 29:55Recoil Open Source
  34. 31:25Recoil Concurrent Mode
  35. 31:51Relay
~/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.