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

Extensibility of strategy for Immutable creation #269

Closed ebelanger closed 1 year ago

ebelanger commented 5 years ago

With the arrival of React 16 and hooks, we came across a problem with IE11 where a polyfilled Symbol coming from React.memo would be converted. This pull request allows extensibility of the creation of Immutable objects so it's possible to use custom strategies when detecting a pattern.

coveralls commented 5 years ago

Coverage Status

Coverage increased (+0.09%) to 96.206% when pulling 265951134bbcde41a58377aeccc44e62cc27c26e on Octopus-ITSM:master into 2d870b14a01e222493c686a7644181185f859558 on rtfeldman:master.