Advantages of using immutable.js over Object.assign or spread operators
<p>So far most of "starter boilerplates" and some posts about react / redux I've seen encourage usage of <a href="https://facebook.github.io/immutable-js/" rel="noreferrer">immutable.js</a> to address mutability. I personally rely on <code>Object.assign</code> or spread operators to handle this, hence don't really see advantage in immutable.js as it adds additional learning and shifts a bit from vanilla js techniques used for mutability. I was trying to find valid reasons for a switch, but wasn't able to hence I am asking here to see why it is so popular.</p>