rtfeldman / seamless-immutable

Immutable data structures for JavaScript which are backwards-compatible with normal JS Arrays and Objects.
BSD 3-Clause "New" or "Revised" License
5.37k stars 195 forks source link

Add update and updateIn functions #116

Closed evgenykochetkov closed 8 years ago

evgenykochetkov commented 8 years ago

Makes nested updates a lot easier. All the cool kids have it😉

rtfeldman commented 8 years ago

People have asked for this before, and it looks like the implementation is simple and well-tested. Thanks!

rtfeldman commented 8 years ago

@evgenykochetkov I expect to merge https://github.com/rtfeldman/seamless-immutable/pull/119 soon and will release once that's in.

rtfeldman commented 8 years ago

Actually, never mind - that one is a breaking change, and I think giving this its own minor version bump is worthwhile. Released as 5.2.0!