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
* To correctly clone a `$state` proxy, use `$state.snapshot` instead of `structuredClone`
342
-
* @returns {never}
343
-
*/
344
-
exportfunctionstructured_clone_state_proxy(){
345
-
if(DEV){
346
-
consterror=newError(`structured_clone_state_proxy\nTo correctly clone a \`$state\` proxy, use \`$state.snapshot\` instead of \`structuredClone\`\nhttps://svelte.dev/e/structured_clone_state_proxy`);
* To correctly clone a `$state` proxy, use `$state.snapshot` instead of `structuredClone`
69
+
* @returns {never}
70
+
*/
71
+
exportfunctionstructured_clone_state_proxy(){
72
+
if(DEV){
73
+
consterror=newError(`structured_clone_state_proxy\nTo correctly clone a \`$state\` proxy, use \`$state.snapshot\` instead of \`structuredClone\`\nhttps://svelte.dev/e/structured_clone_state_proxy`);
0 commit comments