- React
- Reactathon
- 2018
- Functional Lenses In JavaScript with Shades
Functional Lenses In JavaScript with Shades
James McNamara at Reactathon 2018
One frustrating thing for many people coming to functional programming is the clunkiness of updating a single field in an object. Shades.js provides lens functions for native JS objects, and provides a rich library of utility functions that make transforming and updating data declarative. Time permitting, we can discuss how these patterns can fit into a Redux architecture.