Skip to content
Myr

Merge https://github.com/mweststrate/immer

Before adoption: this commit came in with the history the project adopted, so no landing records it.

authored by hyunwoo.jo · committed by hyunwoo.jo · parents 4e76d3b, d2f3a85 · Browse files · 2 files+3 added−2 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Diff stats

2 files+3 added−2 removed

  • tests:+3 added−2 removed

2 files+3 added−2 removed

modified:__tests__/base.js-1 removed
545 unmodified lines
546 const base = {547 arr: [{count: 1}, {count: 2}]548 }549 const result = produce(base, draft => {550 debugger550 draft.arr = [draft.arr[1]]551 draft.arr[0].count = 1552 })553 expect(result).toEqual({
184 unmodified lines
modified:__tests__/frozen.js+3 added-1 removed