~/talk

Integrating Purescript and Halogen into Javascript Apps - Part 6 of 6

Talkat LambdaConf 2017 · 2017-05-25..05-27· [javascript]
links:none on file
slides:none on file

Shows incremental replacement of a JavaScript React UI with PureScript and Halogen, actually implementing a Halogen product component with a concrete state (price quantity title), using PureScript's Aff vs Effect (F vs Aff) distinction and the Halogen query algebra. Builds a hacky but working component runner that embeds Halogen into a DOM node from JS, where runUI returns a callback used to submit new state via a handleState query action; error handling is minimal and the runner is proof‑of‑concept rather than production ready.

AI-written summary · about

  1. 0:00Introduction
  2. 1:18Halogen component setup
  3. 3:23PureScript F and effects
  4. 8:01Component state and algebra
  5. 13:48Halogen component structure
  6. 20:18Render and eval functions
  7. 27:38JavaScript runner for Halogen
  8. 33:02Halogen with React
  9. 39:51Incremental PureScript adoption
  10. 45:09Summary
~/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.