MCPcopy
hub / github.com/BuilderIO/mitosis / fastClone

Function fastClone

packages/core/src/helpers/fast-clone.ts:1–1  ·  view source on GitHub ↗
(obj: T)

Source from the content-addressed store, hash-verified

1export const fastClone = <T extends object>(obj: T): T => JSON.parse(JSON.stringify(obj));

Callers 15

componentToMitosisFunction · 0.90
componentToReactFunction · 0.90
componentToTaroFunction · 0.90
componentToAlpineFunction · 0.90
componentToQwikFunction · 0.90
componentToMarkoFunction · 0.90
componentToSolidFunction · 0.90
componentToHtmlFunction · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected