d901b6bea8
WeakSets and WeakMaps shows degrading performance as the amount of observed objects increases. Using hidden keys result in better performance especially when repeatedly creating large amounts of reactive proxies. This also makes it possible to more efficiently declare non-reactive objects in userland.
49 lines
718 B
TypeScript
49 lines
718 B
TypeScript
export {
|
|
ref,
|
|
unref,
|
|
shallowRef,
|
|
isRef,
|
|
toRef,
|
|
toRefs,
|
|
customRef,
|
|
triggerRef,
|
|
Ref,
|
|
UnwrapRef,
|
|
ToRefs,
|
|
RefUnwrapBailTypes
|
|
} from './ref'
|
|
export {
|
|
reactive,
|
|
readonly,
|
|
isReactive,
|
|
isReadonly,
|
|
isProxy,
|
|
shallowReactive,
|
|
shallowReadonly,
|
|
markRaw,
|
|
toRaw,
|
|
ReactiveFlags
|
|
} from './reactive'
|
|
export {
|
|
computed,
|
|
ComputedRef,
|
|
WritableComputedRef,
|
|
WritableComputedOptions,
|
|
ComputedGetter,
|
|
ComputedSetter
|
|
} from './computed'
|
|
export {
|
|
effect,
|
|
stop,
|
|
trigger,
|
|
track,
|
|
enableTracking,
|
|
pauseTracking,
|
|
resetTracking,
|
|
ITERATE_KEY,
|
|
ReactiveEffect,
|
|
ReactiveEffectOptions,
|
|
DebuggerEvent
|
|
} from './effect'
|
|
export { TrackOpTypes, TriggerOpTypes } from './operations'
|