Skip to content
Myr

docs: some refinements on freezing

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 51cc8b8 · Browse files · 2 files+2 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+2 added−2 removed

  • other:+2 added−2 removed

2 files+2 added−2 removed

modified:docs/performance.md+1 added-1 removed
modified:src/core/immerClass.ts+1 added-1 removed
162 unmodified lines
163164 /**165 * Pass true to automatically freeze all copies created by Immer.166 *167 * By default, auto-freezing is disabled in production.167 * By default, auto-freezing is enabled.168 */169 setAutoFreeze(value: boolean) {170 this.autoFreeze_ = value171 }
56 unmodified lines