~/lightning

Declarative testing of virtual DOM trees • Lightning talk

Lightningat Nordic.js 2016 · 2016-09-08..09-09· [react]
slides:none on file

Claims that a virtual DOM can be represented as a triple functor of type, props and children and that implementing triMap/triApply yields a testable abstraction independent of React internals. Uses an applicative for children (called sip list) to traverse nested arrays, and suggests swapping return types for Either/Maybe for error capture so tests can fold metadata and failures. References Fantasyland and static on as the algebraic specs that make tooling and prop‑based testing straightforward.

AI-written summary · about

  1. 0:00Start
  2. 0:39VDom testing
  3. 1:16What constitutes the VDOM?
  4. 1:32Trifunctor
  5. 1:48Apply
  6. 2:15Testing Children - ZipList
  7. 2:35Testing a VDOM
  8. 3:07Test re-use
  9. 3:24Easy prop based testing
~/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.