Re:Show HN: FuelDOM – A React-compatible virtual DOM impleme...
by ben_jones on Wednesday March 29, 2017 @07:07PM
(#13991447)
No clue, haven't used vuex yet :/ .
[ Parent
| on HN ]
Re:Show HN: FuelDOM – A React-compatible virtual DOM impleme...
by beaconstudios on Wednesday March 29, 2017 @07:29PM
(#13991578)
ah ok, no worries - I think it's similar to Redux largely, which unfortunately includes being severely incompatible with nested state values.
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!