So far most of "starter boilerplates" and some posts about react / redux I've seen encourage usage of immutable.js to address mutability. I personally rely on Object.assign or spread operators to h...

Comments

sgerovsgerov
9 months ago

the answer confirms what I thought: copying objects through .assign is much more expensive than gradual changes to the initial object. As it's not a native JS feature it adds verbosity and there is overhead in immutable <-> plain js object conversions

Reply