DEV Community


Discussion on: Functional Programming in JS, part II - Immutability (Vanilla JS, Immutable.js and Immer)

mpodlasin profile image
Mateusz Podlasin Author

Thanks for the comment!

I 100% agree with you. In my own projects I always default to plain old JS objects.

I forgot to mention that utility libraries like Ramda and lodash/fp always work in an immutable way. So if something is cumbersome to write in native JS, it's a good idea to check out what does libraries offer. :)