Skip to content

Commit 603f2ec

Browse files
committed
docs(readme): update
1 parent 498f24e commit 603f2ec

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

README.md

+1
Original file line numberDiff line numberDiff line change
@@ -276,6 +276,7 @@ In this basic example, the changes to the draft are 'mutative' within the draft
276276
> Set a mark to determine if the value is mutable or if an instance is an immutable, and it can also return a shallow copy function(`AutoFreeze` and `Patches` should both be disabled, Some patches operation might not be equivalent).
277277
> When the mark function is (target) => 'immutable', it means all the objects in the state structure are immutable. In this specific case, you can totally turn on `AutoFreeze` and `Patches`.
278278
> `mark` supports multiple marks, and the marks are executed in order, and the first mark that returns a value will be used.
279+
> When a object tree node is marked by the `mark` function as `mutable`, all of its child nodes will also not be drafted by Mutative and will retain their original values.
279280
280281
#### `create()` - Currying
281282

0 commit comments

Comments
 (0)