Functional Programming in JavaScript
summary
Shows how to replace mutable state with immutable data structures and a single mutable reference (an atom) for identity, using Immutable.js and an atom to make state comparable and observable. Uses promises and async/await for asynchrony and js-csp (channels and cooperative processes) for coordination, assembles a Flux-like architecture without stores where actions go to channels and effects are started/stopped, and demonstrates React’s fast diffs and that the approach is testable and reasonably efficient.
AI-written summary · about
chapters (9)
- 0:00Functional programming in JS
- 3:31Immutable data structures
- 10:15State management with atoms
- 11:40Error handling with Promises
- 15:56Async with CSP channels
- 22:22Functional UI with React
- 25:59Flux architecture with immutable state
- 32:45Views, state and actions
- 33:12Q&A
related talks
01h 03mFunctional Programming in JS: What? Why? How?
01h 03mFunctional Programming in JavaScript
43mFirst-Class Programming
41mFunctional programming: Give it a chance!
40mSimplicity through Functions
12mAn introduction to functional programming
30mLearning Functional Programming with JavaScript
51mWhat the Functional? What, How and Why
