Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/valtio/src/vanilla/utils.ts>deepClone

🧙 Valtio makes proxy-state simple for React and Vanilla
Latest
variable deepClone
import { deepClone } from "https://deno.land/x/valtio@v2.1.1/src/vanilla/utils.ts";

type

<T>(obj: T, getRefSet?: () => WeakSet<object>) => T