MCPcopy Create free account

hub / github.com/pmndrs/valtio / functions

Functions274 in github.com/pmndrs/valtio

↓ 121 callersFunctionproxy
(baseObject: T = {} as T)
src/vanilla.ts:186
↓ 92 callersFunctionuseSnapshot
( proxyObject: T, options?: Options, )
src/react.ts:119
↓ 78 callersFunctionproxySet
(initialValues?: Iterable<T> | null)
src/vanilla/utils/proxySet.ts:57
↓ 40 callersFunctionproxyMap
(entries?: Iterable<[K, V]> | undefined | null)
src/vanilla/utils/proxyMap.ts:55
↓ 39 callersFunctionsnapshot
(proxyObject: T)
src/vanilla.ts:354
↓ 28 callersFunctionsubscribe
( proxyObject: T, callback: (unstable_ops: Op[]) => void, notifyInSync?: boolean, )
src/vanilla.ts:313
↓ 13 callersFunctiongenerateTestData
(size: number)
tests/proxyMap.bench.ts:6
↓ 12 callersFunctionuseCommitCount
(initialCount = 0)
tests/utils.tsx:9
↓ 12 callersFunctionwatch
( callback: WatchCallback, options?: WatchOptions, )
src/vanilla/utils/watch.ts:37
↓ 10 callersFunctiondevtools
( proxyObject: T, options?: Options, )
src/vanilla/utils/devtools.ts:37
↓ 10 callersFunctionuseFloatAnimation
( animation: AnimationName, offset: number = 0, )
website/components/LandingPage/useFloatAnimation.tsx:33
↓ 9 callersFunctiondeepClone
( obj: T, getRefSet: () => WeakSet<object> = getDefaultRefSet, )
src/vanilla/utils/deepClone.ts:17
↓ 7 callersFunctionget
()
tests/deepProxy.test.tsx:251
↓ 7 callersFunctiongetMapForThis
(x: any)
src/vanilla/utils/proxyMap.ts:69
↓ 7 callersFunctionsleep
(ms: number)
tests/utils.tsx:3
↓ 6 callersFunctionref
(obj: T)
src/vanilla.ts:369
↓ 5 callersFunctionasIterable
(other: RSetLike<U> | Set<U>)
src/vanilla/utils/proxySet.ts:94
↓ 5 callersFunctionisProxySet
(obj: object)
src/vanilla/utils/proxySet.ts:30
↓ 5 callersFunctionuse2
(x: T)
tests/async.test.tsx:10
↓ 4 callersFunctionexpectOutputToMatch
()
tests/proxyMap.test.tsx:123
↓ 4 callersFunctionexpectOutputToMatch
()
tests/proxySet.test.tsx:126
↓ 4 callersFunctiongetMapForThis
(x: any)
src/vanilla/utils/proxySet.ts:71
↓ 4 callersFunctionisProxy
(x: any)
src/vanilla/utils/proxyMap.ts:4
↓ 4 callersFunctionisProxy
(x: any)
src/vanilla/utils/proxySet.ts:5
↓ 4 callersFunctionisProxyMap
(obj: object)
src/vanilla/utils/proxyMap.ts:16
↓ 4 callersFunctionmaybeProxify
(x: any)
src/vanilla/utils/proxySet.ts:4
↓ 4 callersFunctionunstable_getInternalStates
()
src/vanilla.ts:378
↓ 4 callersFunctionuseProxy
( proxy: T, options?: NonNullable<Parameters<typeof useSnapshot>[1]>, )
src/react/utils/useProxy.ts:25
↓ 3 callersFunctionaddItem
(id: number)
tests/proxyMap.test.tsx:754
↓ 3 callersFunctionaddItem
()
tests/proxySet.test.tsx:617
↓ 3 callersFunctiongetAllFilesRecursively
(folder)
website/_utils/file_helpers.ts:33
↓ 3 callersFunctiongetSlugs
(p: string)
website/lib/mdx.ts:79
↓ 3 callersFunctionisObject
(x: unknown)
src/vanilla.ts:3
↓ 3 callersFunctionnotifyUpdate
( op: Op | undefined, nextVersion = ++versionHolder[0], )
src/vanilla.ts:196
↓ 3 callersFunctionunstable_enableOp
( enabled: boolean | typeof createOpDefault = true, )
src/vanilla.ts:449
↓ 2 callersFunctioncreatePropListener
(prop: string | symbol)
src/vanilla.ts:219
↓ 2 callersMethoddoubled
()
tests/class.test.tsx:202
↓ 2 callersFunctionensureVersion
(nextCheckVersion = versionHolder[0])
src/vanilla.ts:206
↓ 2 callersFunctiongetAllDocs
()
website/lib/mdx.ts:67
↓ 2 callersFunctiongetEsbuild
()
rollup.config.mjs:22
↓ 2 callersFunctionisNavigationRecord
(obj: object)
website/components/layouts/DocLayout/DocLayout.tsx:81
↓ 2 callersFunctionmakeEmbed
(html: string, type: string)
website/lib/mdx.ts:45
↓ 2 callersFunctionmean
(a: number[])
tests/performance.test.tsx:27
↓ 2 callersFunctionpipe
(...fns: fn[])
website/_utils/file_helpers.ts:7
↓ 2 callersFunctionremovePropListener
(prop: string | symbol)
src/vanilla.ts:247
↓ 2 callersFunctionsaveImage
(url)
examples/photo-booth-vanillajs/src/main.js:73
↓ 2 callersFunctionsubscribeKey
( proxyObject: T, key: K, callback: (value: T[K]) => void, notifyInSync?: boolean, )
src/vanilla/utils/subscribeKey.ts:14
↓ 2 callersFunctionupdatePreviousRef
()
website/components/layouts/DocLayout/DocLayout.tsx:102
↓ 2 callersFunctionvisit
(value: unknown)
src/vanilla/utils/deepProxy.ts:34
↓ 1 callersFunctionaddListener
(listener: Listener)
src/vanilla.ts:254
↓ 1 callersFunctionaddPropListener
(prop: string | symbol, propValue: unknown)
src/vanilla.ts:232
↓ 1 callersFunctionbuildNestedObj
(depth: number)
tests/performance.test.tsx:43
↓ 1 callersFunctionclamp
(num: number, min: number, max: number)
website/components/LandingPage/useFloatAnimation.tsx:30
↓ 1 callersFunctioncleanup
()
src/vanilla/utils/watch.ts:55
↓ 1 callersFunctioncloneContainer
(src: T)
src/vanilla/utils/deepProxy.ts:16
↓ 1 callersFunctioncreateCommonJSConfig
(input, output)
rollup.config.mjs:72
↓ 1 callersFunctioncreateDeclarationConfig
(input, output)
rollup.config.mjs:30
↓ 1 callersFunctioncreateESMConfig
(input, output)
rollup.config.mjs:47
↓ 1 callersFunctiondateSortDesc
(a: any, b: any)
website/lib/mdx.ts:83
↓ 1 callersFunctionexampleCode
(dur: number, count: number)
website/components/LandingPage/CodeExample.tsx:6
↓ 1 callersFunctionformatSlug
(slug: string)
website/lib/mdx.ts:75
↓ 1 callersFunctiongetDocBySlug
(slug: string)
website/lib/mdx.ts:95
↓ 1 callersFunctiongetDocsMap
()
website/lib/mdx.ts:235
↓ 1 callersFunctiongetDocsNav
()
website/lib/mdx.ts:244
↓ 1 callersFunctiongetId
()
examples/photo-booth-vanillajs/src/main.js:8
↓ 1 callersFunctiongetSourceFromSlug
(slug: string)
website/lib/mdx.ts:89
↓ 1 callersFunctiongetTitle
(path: string)
website/lib/mdx.ts:214
↓ 1 callersFunctionhasForEach
( o: RSetLike<U>, )
src/vanilla/utils/proxySet.ts:89
↓ 1 callersMethodinc
()
tests/deepProxy.test.tsx:277
↓ 1 callersFunctionincrementCount
()
website/components/LandingPage/state.ts:16
↓ 1 callersFunctionisIterable
(o: unknown)
src/vanilla/utils/proxySet.ts:86
↓ 1 callersFunctionisObject
(x: unknown)
src/vanilla/utils/deepClone.ts:3
↓ 1 callersFunctionisObject
(x: unknown)
src/vanilla/utils/deepProxy.ts:5
↓ 1 callersFunctionisScrollable
* indicates if an element can be scrolled * * @param {Node} el
website/components/layouts/DocLayout/DocLayout.tsx:58
↓ 1 callersFunctionlistener
(op)
src/vanilla.ts:326
↓ 1 callersFunctionloadImages
PERSISTED IMAGES HANDLING
examples/photo-booth-vanillajs/src/main.js:53
↓ 1 callersFunctionlogSlope
(xs: number[], ys: number[])
tests/performance.test.tsx:29
↓ 1 callersFunctionmap
(fn: fn)
website/_utils/file_helpers.ts:17
↓ 1 callersFunctionmeasurePerformance
( setUp: () => void, action: () => void, tearDown: () => void, )
tests/performance.test.tsx:7
↓ 1 callersFunctionnearestScrollableContainer
* Find the nearst scrollable ancestor (or self if scrollable) * * Code adapted and simplified from the smoothscroll polyfill * * * @param {Elemen
website/components/layouts/DocLayout/DocLayout.tsx:51
↓ 1 callersFunctionnewProxy
(target: T, handler: ProxyHandler<T>)
src/vanilla.ts:176
↓ 1 callersFunctiononScroll
()
website/components/layouts/Header/Header.tsx:126
↓ 1 callersFunctionpathJoinPrefix
(prefix: string)
website/_utils/file_helpers.ts:25
↓ 1 callersFunctionprepareDoc
(doc: string)
website/lib/mdx.ts:218
↓ 1 callersFunctionregisterSnapMap
()
src/vanilla/utils/proxyMap.ts:61
↓ 1 callersFunctionregisterSnapMap
()
src/vanilla/utils/proxySet.ts:63
↓ 1 callersFunctionremoveExtension
(path: string)
website/lib/mdx.ts:210
↓ 1 callersFunctionremoveImage
(id)
examples/photo-booth-vanillajs/src/main.js:58
↓ 1 callersFunctionremoveListener
()
src/vanilla.ts:265
↓ 1 callersFunctionrenderCanvasControls
(hasCandidateImage)
examples/photo-booth-vanillajs/src/main.js:116
↓ 1 callersFunctionrenderImages
(images, selectedId)
examples/photo-booth-vanillajs/src/main.js:79
↓ 1 callersFunctionrevalidate
()
src/vanilla/utils/watch.ts:65
↓ 1 callersFunctionselectImage
(id)
examples/photo-booth-vanillajs/src/main.js:62
↓ 1 callersFunctionstartMediaStream
MEDIA STREAM INIT
examples/photo-booth-vanillajs/src/main.js:130
↓ 1 callersFunctionuseCodesandboxTheme
(mdxSource: string)
website/hooks/useCodesandboxTheme.ts:5
↓ 1 callersFunctionuseFilter
()
examples/todo-with-proxyMap/src/store.ts:88
↓ 1 callersFunctionuseFilter
()
examples/todo/src/store.ts:56
↓ 1 callersFunctionuseTheme
()
website/hooks/useTheme.ts:4
↓ 1 callersFunctionuseTodos
()
examples/todo-with-proxyMap/src/store.ts:51
↓ 1 callersFunctionuseTodos
()
examples/todo/src/store.ts:43
next →1–100 of 274, ranked by callers