Functional lenses for contemporary frameworks
summary
Argues that lenses (profunctor optics) give a concrete two‑way getter/setter layer for immutable state and replaces boilerplate like reducers/actions, shows a working Cycle.js app and a React implementation using a useProfunctorState hook, plus a Vue proof‑of‑concept view lens mixin (about 18 lines). Demonstrates composing small lenses, converting Fahrenheit↔Celsius, and wiring child components to global state; reports it works as a simple, composable alternative with some performance and control caveats.
AI-written summary · about
chapters (6)
- 0:00Start
- 5:33React Redux
- 6:18What Is the Lens
- 15:50State Management
- 24:24Lens for State Management
- 28:27Lens Library for Angular








