3 ms·
I wrote a tiny library called fn-update for this that does composable functional updates (https://github.com/benvan/fn-update https://github.com/benvan/fn-updat
by benvan 8y ago
I wrote a tiny library called fn-update for this that does composable functional updates (https://github.com/benvan/fn-update https://github.com/benvan/fn-update).
Personally, I prefer not having to mutate data, even wrapped in a produce method
- realharo 8y agoHaving to specify the path using an array of strings would be an instant dealbreaker for me. It messes with all tooling and is bad for readability.