News for hackers. Stuff that matters.
Re:Show HN: FuelDOM – A React-compatible virtual DOM impleme... by girvo on Thursday March 30, 2017 @10:21AM (#13995545)
In redux I use functional lenses to create composoable getter/setter functions to handle deeply nested data safely. I do that even without redux, but it is very useful there. Take a look at the lens functions in Ramda, or safety-lens
Re:Show HN: FuelDOM – A React-compatible virtual DOM impleme... by beaconstudios on Thursday April 06, 2017 @05:54AM (#14049215)
I'd never thought to use lenses for this. Thanks for the advice, that actually really helps!