copy-machine
v0.2.2
Published
Sometimes you want to deep mutate.
Readme
Why?
Sometimes you want to deep mutate.
Example
import {update} from "copy-machine";
state = update(state, {
posts: update(
0, update<Post>({
author: "Eric",
}),
),
});