MCPcopy Create free account

hub / github.com/Pursue-LLL/miniprogram-turbo-setdata / functions

Functions29 in github.com/Pursue-LLL/miniprogram-turbo-setdata

↓ 5 callersFunctionlog
(msg: string, ...args: any[])
lib/log.ts:5
↓ 5 callersMethodupdateData
(path: string, newVal: any, options: SetDataOptions)
lib/turboSetData.ts:86
↓ 4 callersFunctiongetPathFileds
(path: string)
lib/filedsUtils.ts:19
↓ 4 callersFunctionisPlainObjectOrArray
(val: unknown)
lib/typeUtils.ts:29
↓ 3 callersFunctiongetValByPath
(target: object, path: string)
lib/filedsUtils.ts:56
↓ 2 callersFunctiondeepClone
(target: any, cache = new WeakMap())
lib/deepClone.ts:12
↓ 2 callersMethoddiffLength
( newValLen: number, oldValLen: number, path: string, newVal: any, isSubProp: boolean, options: Se
lib/turboSetData.ts:218
↓ 2 callersFunctiongetTypeString
(val: unknown)
lib/typeUtils.ts:3
↓ 2 callersFunctionisPlainObject
(val: unknown)
lib/typeUtils.ts:24
↓ 2 callersFunctionupdateValByPath
(target: any, path: string, value: any)
lib/filedsUtils.ts:80
↓ 2 callersMethoduseNativeSetData
(data: Data, fn?: Fn)
lib/turboSetData.ts:253
↓ 2 callersFunctionwarn
(msg: string, ...args: any[])
lib/log.ts:1
↓ 1 callersMethoddiff
(newVal: unknown, oldVal: unknown, path: string, options: SetDataOptions, isSubProp = false)
lib/turboSetData.ts:141
↓ 1 callersMethodexecSetDataCb
()
lib/turboSetData.ts:128
↓ 1 callersFunctionisObject
(val: unknown)
lib/typeUtils.ts:9
↓ 1 callersMethodlogSameValue
(path: string, newVal: any)
lib/turboSetData.ts:258
↓ 1 callersMethodperformUpdate
()
lib/turboSetData.ts:96
↓ 1 callersMethodreactive
(target: object, path: string)
lib/watcher.ts:106
↓ 1 callersMethodtrack
(path: string, cb: WatchCallBack)
lib/watcher.ts:99
↓ 1 callersMethodtrigger
()
lib/watcher.ts:47
↓ 1 callersMethodturbo
()
lib/turboSetData.ts:40
↓ 1 callersMethodupdateWatchedData
(path: string, newVal: any)
lib/watcher.ts:87
Methodconstructor
(private instance: any)
lib/watcher.ts:22
Methodconstructor
(private instance: Instance, private watcher: Watcher | null, private turboOpts?: TurboOpts)
lib/turboSetData.ts:34
FunctiongetRawType
(val: unknown)
lib/typeUtils.ts:6
FunctionturboComponent
(compOpts: CompOpts, options?: { turboOptions: TurboOpts })
lib/index.ts:36
FunctionturboPage
(pageOpts, options?: { turboOptions: TurboOpts })
lib/index.ts:19
FunctionuseTurboAllComponent
* 增强全局所有组件钩子
lib/index.ts:76
FunctionuseTurboAllPage
* 增强全局所有页面钩子
lib/index.ts:59