~/talk

Domic — Reactive Virtual DOM. Why we built it, how it works.

Talkat droidCon NYC 2018 · 2018-08-27..08-28· [android, frontend-architecture]
links:none on file
slides:none on file

Domic is a reactive virtual DOM for Android that exposes only RxJava-based observe/change interfaces, returns Disposables, and lets view models bind observables for rendering. It implements an API, Android bindings and a JVM test module, uses custom RxJava operators and an atomic reference array for a shared distinct-until-changed to keep state consistent, precomputes text off-thread, double-buffers changes and waits on Choreographer to batch renders, minimizing main-thread work so lists of updates sustain 60fps and enable synchronous JVM unit tests.

AI-written summary · about

  1. 0:00Introduction and motivation
  2. 4:23Design patterns evolution
  3. 10:02Threading and reactivity benefits
  4. 16:22Domic API module explained
  5. 22:40Rendering and diffing mechanism
  6. 29:03Performance and threading optimizations
  7. 33:39Testing with Domic
  8. 37:34Integration with MVVM
  9. 40:23Redux and declarative APIs
  10. 43:12Comparison with other libraries
  11. 44:58Summary and recap
~/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.