UNPKG

@threlte/core

Version:

A 3D framework for the web, built on top of Svelte and Three.js

12 lines (11 loc) 412 B
/** * Only scalar values are memoized, objects and arrays are considered * non-equa by default, to ensure reactivity works as you would * expect in svelte. * @param value * @returns */ export declare const memoizeProp: (value: unknown) => boolean; export declare const useProps: () => { updateProp: <T>(instance: T, key: string, value: any, pluginsProps?: string[], manualCamera?: boolean) => void; };