Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork4.6k
Does$state.snapshot
create a deep clone?#16186
-
With some quick testing it does seem to do so but I'm confused at this quotefrom the docs:
If it already does deep clone the object, then why would you want to pass a snapshot to |
BetaWas this translation helpful?Give feedback.
All reactions
As seen in#12413,$state.snapshot()
was moved early on to usestructuredClone()
.
Replies: 1 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.
-
As seen in#12413, |
BetaWas this translation helpful?Give feedback.