UNPKG

lingo3d

Version:

Lingo3D is a React/Vue 3d game development framework that ships with a complete visual editor

13 lines 503 B
import store, { createEffect } from "@lincode/reactivity"; import { addDisposeStateSystem, deleteDisposeStateSystem } from "../systems/eventSystems/disposeStateSystem"; export const [setDummyIK, getDummyIK] = store(undefined); createEffect(() => { const dummyIK = getDummyIK(); if (!dummyIK) return; addDisposeStateSystem(dummyIK, { setState: setDummyIK }); return () => { deleteDisposeStateSystem(dummyIK); }; }, [getDummyIK]); //# sourceMappingURL=useDummyIK.js.map