~/talk

Clojurescript and Om - Pragmatic functional programming in the Javascript Land

Talkat Functional Conf 2014 · 2014-10-09..10-11· [clojure, javascript]
slides:none on file

ClojureScript compiled with Google Closure plus Om on top of React yields a UI model that treats the view as a function of immutable state, uses React’s virtual DOM diffing and requestAnimationFrame whole-view render to avoid DOM churn, and relies on atoms/cursors and Om’s build-all/transact primitives to update state. Live-coded example: a todo app with add, toggle and planned inline-edit, unique keys via a GUID generator, and a claim that Om on ClojureScript runs about twice as fast as plain React + JS.

AI-written summary · about

  1. 0:00ClojureScript and Om intro
  2. 2:17React JS and virtual DOM
  3. 4:23React component updates
  4. 6:49Immutable data in ClojureScript
  5. 8:36Om with React and requestAnimationFrame
  6. 10:53Setting up the development environment
  7. 13:08Om and ClojureScript atoms
  8. 17:03To-do app interface
  9. 24:02Project dependencies
  10. 25:23DOM events in React
  11. 31:35Reusable components
  12. 34:30Keys for DOM updates
  13. 38:48Toggle to-do items
  14. 43:30Summary
~/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.