~/talk

Syncing stores using socket streams

Talkat React Rally 2015 · 2015-08-24..08-25· [frontend-architecture, nodejs]
slides:none on file

Claim: a dispatcher that emits Flux actions over sockets keeps stores in sync across clients while remaining a drop-in replacement for the Facebook dispatcher. Implementation uses socket.io, adds a default broadcast flag to dispatch so actions either propagate or stay local, and prevents network echo by intercepting between dispatch and callback. Proven with a chat demo and a canvas multiplayer demo that update optimistically, and server-side logging to elastic search enables real-time analytics.

AI-written summary · about

  1. 0:00Start
  2. 1:57maintaining consistency gets cumbersome
  3. 2:28flux to the rescue!
  4. 3:58one-way data flow
  5. 4:18trigger(eventName, data)
  6. 5:56dispatcher looks promising
  7. 8:26demo
  8. 8:52over-the-network loop
  9. 12:41other work Elle Rotengerg - Flux over the wire
  10. 13:21the possibilities are endless
~/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.