v2.2.5
This bugfix release fixes an issue in the recent createEntityAdapter
sorting perf improvements that could (in specific cases) cause Immer to throw an error when trying to read a plain JS value instead of a proxy-wrapped value.
What's Changed
- Fix missed spot where use of
current
may fail if the value is not a draft by @markerikson in #4412
Full Changelog: v2.2.4...v2.2.5