Integrating Purescript and Halogen into Javascript Apps - Part 1 of 6
summary
Live coding shows taking a React/Redux shopping cart and gradually replacing parts with PureScript and Halogen, demonstrating JS interop, build steps (npm/yarn), and the exact edits that make pieces compile and run. Expect concrete tradeoffs around form-heavy UI, component composition, and whether a React driver or wrapping existing components works. Sessions document failures and fixes, the incremental migration pattern, and how much boilerplate actually shrinks.
AI-written summary · about
chapters (18)
- 0:00Intro
- 2:07Show Hands
- 4:08Live Coding
- 7:57Structure Objects
- 9:30Require Statements
- 9:52Import Statements
- 10:27Callbacks
- 10:45React
- 11:57JSX
- 24:30Why Halogen
- 27:13Getting the green light
- 34:17Bloopers
- 35:22Questions
- 36:09Check out
- 40:15NPM install
- 42:02Change function in constant
- 43:01Prop types
- 44:49React Redux
related talks
01h 04mJavaScript to Purescript A Migration Story
47mFunctional Programming on the Web
01h 49mPurely Functional Web Apps using React and PureScript
43mThe Pure Functional Web
28mPureScript & Pux -- a safer, more expressive way to React
49mPurescript (Maybe this time we get Javascript right)
27mUnderstanding JavaScript Libraries via React and the React Ecosystem
30mTowards a simpler JavaScript ecosystem
