Lenses with Immutable.js
Brian Lonsdorf
1395
Just a note, if you are converting from/to Maps/Objects and Lists/Arrays you could generalize the iso:
const jsIso = iso(x => x.toJS(), Immutable.fromJS);
Just a note, if you are converting from/to Maps/Objects and Lists/Arrays you could generalize the iso:
const jsIso = iso(x => x.toJS(), Immutable.fromJS);