~/talk

Mutable or Immutable? Let's do both!

Talkat React Alicante 2017 · 2017-09-28..09-30· [react, typescript]
slides:none on file

Introduces MobX-State-Tree as an opinionated library that mixes mutable MobX instances with immutable snapshots and patches, gives runtime types and TypeScript inference, supports time-travel, autosave, undo via reverse patches, and reconciliation via identifier-based reconciliation. Demo shows creating models, applying server snapshots, recording and replaying patches, and Redux-devtools interoperability; examples run and produce snapshots and reversions as claimed, with observable views and cached computed values working end to end.

AI-written summary · about

  1. 0:00Start
  2. 2:42Comparing the opposite patterns
  3. 3:19Shaping the data
  4. 4:55Data Rehydration
  5. 8:00Defining data shape
  6. 8:58Creating a model instance
  7. 9:39Getting an instance snapshot
  8. 12:41What about fancy time travelling?
  9. 13:48Composing Models
  10. 16:02Types
  11. 17:00Typechecking
  12. 20:16Reconciliation
  13. 23:10React Lifecycle?
  14. 26:41Automatic action descriptors
  15. 27:36Applying an action back
  16. 28:09Observability
  17. 31:37Fine grained snapshots?
  18. 32:27Applying patches
  19. 37:38State Tree?
  20. 38:48References
  21. 39:17Defining a Reference
~/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.