4 ms·
Don't use immutability in JS. Though, use Ramda, since it's much better than plain JS. This, then, would solve almost all of the problems mentioned in the arti
by personomas 9y ago
Don't use immutability in JS. Though, use Ramda, since it's much better than plain JS.
This, then, would solve almost all of the problems mentioned in the article, yet remain functional friendly.
Ramda functions never mutate the object by always returning a new object, this is very simple to reason about, and it's pretty close to immutable programming without the overhead yet only one API.