You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
No one has this issue?
If you want to save the state into the IndexedDB, this issue enforce us to serialize the object and lost its structure in the DB.
I think it is necessary that the way to get the target object of the proxy in application layer.
Is your feature request related to a problem?
As the proxy object is not cloneable, so for example, it is need to be serialized/deserialized to store into the indexedDB.
Describe the solution you'd like
If there is a way to get the target object of the proxy object as like as the Vue's
toRaw
, we can use it directly to store into the indexedDB.Describe alternatives you've considered
The
getProxyTarget
function can also solve this problem.Additional context
No response
The text was updated successfully, but these errors were encountered: