Skip to content
Myr

Processed review comments

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

authored by Michel Weststrate · committed by Michel Weststrate · parent 7fd3ef3 · Browse files · 2 files+2 added−5 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+2 added−5 removed

  • other:+2 added−5 removed

2 files+2 added−5 removed

modified:src/common.js+2 added-4 removed
modified:src/immer.js-1 removed
302 unmodified lines
303 }304 // Search new objects for unfinalized drafts. Frozen objects should never contain drafts.305 else if (isDraftable(value) && !Object.isFrozen(value)) {306 each(value, finalizeProperty)307 // for externally incoming object trees, we wan't to make sure they're frozen automatically307 this.maybeFreeze(value)308 }309310 if (isDraftProp && this.onAssign) {
14 unmodified lines