PureScript & Pux -- a safer, more expressive way to React
summary
PureScript compiles to CommonJS and interops with React, with an optimizing flag that shrinks small widgets to 4 kilobyte bundle size; Pux implements an Elm-style model/update/view while exporting a component for use inside existing React apps. Examples include a Rock Paper Scissors app using effect types for randomness and async, and a slideshow built with a Spectacle wrapper. Code shows validated newtype emails, do-block effects, hot-reloadable starter apps, and a working autocomplete bundled as a self-contained module.
AI-written summary · about
chapters (6)
- 0:00Start
- 7:19Type Classes
- 10:44Abstractions
- 12:10Spectacled Library for Creating Slide Decks
- 15:30Choice Button
- 16:59Determine the Winner
related talks
25mPureScript & Pux -- a safer, more expressive way to React
01h 49mPurely Functional Web Apps using React and PureScript
43mThe Pure Functional Web
53mIntegrating Purescript and Halogen into Javascript Apps - Part 1 of 6
45mPureScript (Maybe This Time We Get JavaScript Right)
47mIntegrating Purescript and Halogen into Javascript Apps - Part 6 of 6
53mIntegrating Purescript and Halogen into Javascript Apps - Part 2 of 6
54mIntegrating Purescript and Halogen into Javascript Apps - Part 3 of 6
