Repository navigation
Add snapshot to create copy of state created on trigger
#96
Locked
sergeysova
announced in
Done
Replies: 3 comments 4 replies
|
Without const $copy = restore(
sample($source, backup, ({ref}) => ({ref: new Map(ref.entries())})),
$source.defaultState
) |
0 replies
|
Just a copy without linking: const $copy = snapshot({ source: $source }) |
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Inspired by #95
All reactions