UNPKG

lingo3d

Version:

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

8 lines 354 B
import store from "@lincode/reactivity"; import useSyncState from "../hooks/useSyncState"; const hook = (setGlobalState, getGlobalState) => () => [useSyncState(getGlobalState), setGlobalState]; export default (val) => { const [setter, getter] = store(val); return [hook(setter, getter), setter, getter]; }; //# sourceMappingURL=preactStore.js.map