MCPcopy Create free account

hub / github.com/alibaba/hooks / functions

Functions538 in github.com/alibaba/hooks

↓ 2 callersFunctiongetActiveFieldValues
()
packages/hooks/src/useAntdTable/index.tsx:53
↓ 2 callersFunctiongetClientPosition
(event: EventType)
packages/hooks/src/useLongPress/index.ts:56
↓ 2 callersFunctiongetConnection
()
packages/hooks/src/useNetwork/index.ts:21
↓ 2 callersFunctiongetConnectionProperty
()
packages/hooks/src/useNetwork/index.ts:29
↓ 2 callersFunctiongetDefaultValue
()
packages/hooks/src/createUseStorageState/index.ts:51
↓ 2 callersFunctiongetDistanceTop
(index: number)
packages/hooks/src/useVirtualList/index.ts:70
↓ 2 callersFunctiongetIsFullscreen
()
packages/hooks/src/useFullscreen/index.ts:33
↓ 2 callersFunctiongetScrollHeight
(el: Document | Element)
packages/hooks/src/utils/rect.ts:12
↓ 2 callersFunctiongetStoredValue
()
packages/hooks/src/createUseStorageState/index.ts:39
↓ 2 callersFunctiongetTargetValue
(val: number, options: Options = {})
packages/hooks/src/useCounter/index.ts:19
↓ 2 callersFunctiongo
(step: number)
packages/hooks/src/useHistoryTravel/index.ts:97
↓ 2 callersFunctioninc
(delta: number = 1)
packages/hooks/src/useCounter/index.ts:51
↓ 2 callersFunctionisBoolean
(val: unknown)
packages/hooks/src/utils/index.ts:13
↓ 2 callersFunctionisNonNullable
(val: T)
packages/hooks/src/utils/index.ts:25
↓ 2 callersFunctionisObject
(val: unknown)
packages/hooks/src/utils/index.ts:1
↓ 2 callersFunctionisThenable
(val: any)
packages/hooks/src/utils/index.ts:29
↓ 2 callersFunctionisUndef
(val: unknown)
packages/hooks/src/utils/index.ts:21
↓ 2 callersFunctionisValidKeyType
(value: unknown)
packages/hooks/src/useKeyPress/index.ts:152
↓ 2 callersFunctionobserver
(initialVal: T, cb: () => void)
packages/hooks/src/useReactive/index.ts:11
↓ 2 callersFunctiononData
( dataTransfer: DataTransfer, event: React.DragEvent | React.ClipboardEvent, )
packages/hooks/src/useDrop/index.ts:32
↓ 2 callersFunctionremove
(key: K)
packages/hooks/src/useMap/index.ts:20
↓ 2 callersFunctionreset
()
packages/hooks/src/useMap/index.ts:28
↓ 2 callersFunctionrunAsyncForCurrent
(data?: TData)
packages/hooks/src/useInfiniteScroll/index.tsx:100
↓ 2 callersFunctionselect
(item: T)
packages/hooks/src/useSelections/index.ts:51
↓ 2 callersFunctionselectAll
()
packages/hooks/src/useSelections/index.ts:69
↓ 2 callersFunctionservice
(a = 1, b = 1)
packages/hooks/src/useRequest/__tests__/index.spec.ts:420
↓ 2 callersFunctionset
(value: ValueParam)
packages/hooks/src/useCounter/index.ts:59
↓ 2 callersFunctionsetup
( initialEntries: MemoryRouterProps['initialEntries'], baseState: any = {}, options?: Options, )
packages/use-url-state/__tests__/setup.tsx:8
↓ 2 callersFunctionsetup
( service: Parameters<typeof useRequest>[0], options: Parameters<typeof useRequest>[1], )
packages/hooks/src/useRequest/__tests__/useCachePlugin.spec.tsx:10
↓ 2 callersFunctionsetup
(items: T[], options?: T[] | Options<T>)
packages/hooks/src/useSelections/__tests__/index.spec.ts:15
↓ 2 callersFunctionsplit
(step: number, targetArr: T[])
packages/hooks/src/useHistoryTravel/index.ts:25
↓ 2 callersFunctiontogglePageFullscreen
(fullscreen: boolean)
packages/hooks/src/useFullscreen/index.ts:64
↓ 2 callersFunctionunSelect
(item: T)
packages/hooks/src/useSelections/index.ts:56
↓ 2 callersFunctionupdateFullscreenState
(fullscreen: boolean)
packages/hooks/src/useFullscreen/index.ts:49
↓ 2 callersFunctionupdateSet
(updater: (set: Set<K>) => Set<K>)
packages/hooks/src/useSet/index.ts:8
↓ 2 callersFunctionuseCounter
(initialValue: number = 0, options: Options = {})
packages/hooks/src/useCounter/index.ts:31
↓ 2 callersFunctionuseDebounce
(value: T, options?: DebounceOptions)
packages/hooks/src/useDebounce/index.ts:5
↓ 2 callersFunctionuseDebounceEffect
( effect: EffectCallback, deps?: DependencyList, options?: DebounceOptions, )
packages/hooks/src/useDebounceEffect/index.ts:7
↓ 2 callersFunctionuseDeepCompareEffectWithTarget
( effect: EffectCallback, deps: DependencyList, target: BasicTarget<any> | BasicTarget<any>[], )
packages/hooks/src/utils/useDeepCompareWithTarget.ts:7
↓ 2 callersFunctionuseDocumentVisibility
()
packages/hooks/src/useDocumentVisibility/index.ts:14
↓ 2 callersFunctionuseDrop
(target: BasicTarget, options: Options = {})
packages/hooks/src/useDrop/index.ts:19
↓ 2 callersFunctionuseEventEmitter
()
packages/hooks/src/useEventEmitter/index.ts:33
↓ 2 callersFunctionuseFavicon
(href: string)
packages/hooks/src/useFavicon/index.ts:12
↓ 2 callersFunctionuseGetState
(initialState?: S)
packages/hooks/src/useGetState/index.ts:15
↓ 2 callersFunctionuseLockFn
(fn: (...args: P) => Promise<V>)
packages/hooks/src/useLockFn/index.ts:3
↓ 2 callersFunctionuseMap
(initialValue?: Iterable<readonly [K, T]>)
packages/hooks/src/useMap/index.ts:4
↓ 2 callersFunctionuseMutationObserver
( callback: MutationCallback, target: BasicTarget, options: MutationObserverInit = {}, )
packages/hooks/src/useMutationObserver/index.ts:6
↓ 2 callersFunctionuseNetwork
()
packages/hooks/src/useNetwork/index.ts:44
↓ 2 callersFunctionuseResetState
( initialState: S | (() => S), )
packages/hooks/src/useResetState/index.ts:9
↓ 2 callersFunctionuseSafeState
(initialState?: S | (() => S))
packages/hooks/src/useSafeState/index.ts:9
↓ 2 callersFunctionuseSet
(initialValue?: Iterable<K>)
packages/hooks/src/useSet/index.ts:4
↓ 2 callersFunctionuseStorageState
(key: string, options: Options<T> = {})
packages/hooks/src/createUseStorageState/index.ts:22
↓ 2 callersFunctionuseThrottle
(value: T, options?: ThrottleOptions)
packages/hooks/src/useThrottle/index.ts:5
↓ 2 callersFunctionuseThrottleEffect
( effect: EffectCallback, deps?: DependencyList, options?: ThrottleOptions, )
packages/hooks/src/useThrottleEffect/index.ts:7
↓ 2 callersFunctionuseTitle
(title: string, options: Options = DEFAULT_OPTIONS)
packages/hooks/src/useTitle/index.ts:13
↓ 2 callersFunctionuseTrackedEffect
(effect: Effect<T>, deps?: [...T])
packages/hooks/src/useTrackedEffect/index.ts:23
↓ 2 callersFunctionuseWebSocket
(socketUrl: string, options: Options = {})
packages/hooks/src/useWebSocket/index.ts:34
↓ 2 callersFunctionuseWhyDidYouUpdate
(componentName: string, props: IProps)
packages/hooks/src/useWhyDidYouUpdate/index.ts:5
↓ 2 callersFunctionvalue
()
packages/hooks/src/useReactive/__tests__/index.spec.tsx:260
↓ 1 callersFunctionRow
(index: number, item: any)
packages/hooks/src/useDynamicList/demo/demo1.tsx:17
↓ 1 callersFunctionRow
(index: number, item: any)
packages/hooks/src/useDynamicList/demo/demo3.tsx:20
↓ 1 callersFunctionRow
(index: number, item: any)
packages/hooks/src/useDynamicList/demo/demo2.tsx:34
↓ 1 callersFunction_backward
(step: number = -1)
packages/hooks/src/useHistoryTravel/index.ts:84
↓ 1 callersFunction_forward
(step: number = 1)
packages/hooks/src/useHistoryTravel/index.ts:72
↓ 1 callersFunction_getCache
(key: string, params: any[] = [])
packages/hooks/src/useRequest/src/plugins/useCachePlugin.ts:33
↓ 1 callersFunction_setCache
(key: string, cachedData: CachedData)
packages/hooks/src/useRequest/src/plugins/useCachePlugin.ts:24
↓ 1 callersFunctioncalcLeft
(target?: TDate)
packages/hooks/src/useCountDown/index.ts:23
↓ 1 callersFunctioncallToggle
(hook: any)
packages/hooks/src/useToggle/__tests__/index.spec.ts:5
↓ 1 callersFunctioncamelToKebab
(str)
packages/hooks/gulpfile.js:8
↓ 1 callersFunctioncancelAnimationFrameIsNotDefined
(t: any)
packages/hooks/src/useRafTimeout/index.ts:34
↓ 1 callersFunctioncancelAnimationFrameIsNotDefined
(t: any)
packages/hooks/src/useRafInterval/index.ts:31
↓ 1 callersFunctioncancelTimeout
()
packages/hooks/src/useRequest/src/plugins/useLoadingDelayPlugin.ts:11
↓ 1 callersFunctionchangeCurrent
(c: number)
packages/hooks/src/usePagination/index.ts:49
↓ 1 callersFunctionchangeSearchType
(type: any)
packages/hooks/src/useAntdTable/__tests__/index.spec.ts:62
↓ 1 callersFunctionchangeWidth
(width: number)
packages/hooks/src/useResponsive/__tests__/index.spec.ts:6
↓ 1 callersFunctioncheckIfAllInShadow
(targets: BasicTarget[])
packages/hooks/src/utils/getDocumentOrShadow.ts:6
↓ 1 callersFunctionclearAll
()
packages/hooks/src/useSelections/index.ts:100
↓ 1 callersFunctionclearRafInterval
(handle: Handle)
packages/hooks/src/useRafInterval/index.ts:35
↓ 1 callersFunctionclearRafTimeout
(handle: Handle)
packages/hooks/src/useRafTimeout/index.ts:38
↓ 1 callersFunctionconfigResponsive
(config: ResponsiveConfig)
packages/hooks/src/useResponsive/index.ts:49
↓ 1 callersFunctioncountKeyByEvent
(event: KeyboardEvent)
packages/hooks/src/useKeyPress/index.ts:157
↓ 1 callersFunctiondiffTwoDeps
(deps1?: DependencyList, deps2?: DependencyList)
packages/hooks/src/useTrackedEffect/index.ts:10
↓ 1 callersFunctiondownMouse
(x: number, y: number, options?: MouseEventInit)
packages/hooks/src/useTextSelection/__tests__/index.spec.ts:7
↓ 1 callersFunctiondumpIndex
(step: number, arr: T[])
packages/hooks/src/useHistoryTravel/index.ts:11
↓ 1 callersFunctionemitDeclaration
(sourceFile: string)
packages/hooks/src/__tests__/refTypes.spec.ts:5
↓ 1 callersFunctionexecute
()
packages/hooks/src/useAsyncEffect/index.ts:22
↓ 1 callersFunctionfieldAdapter
(field: Field)
packages/hooks/src/useFusionTable/fusionAdapter.ts:4
↓ 1 callersFunctiongenDesc
(mdPath)
packages/hooks/gulpfile.js:12
↓ 1 callersFunctiongenFilterKey
* 判断按键是否激活 * @param [event: KeyboardEvent]键盘事件 * @param [keyFilter: any] 当前键 * @returns string | number | boolean
packages/hooks/src/useKeyPress/index.ts:176
↓ 1 callersFunctiongenKeyFormatter
* 键盘输入预处理方法 * @param [keyFilter: any] 当前键 * @returns () => Boolean
packages/hooks/src/useKeyPress/index.ts:219
↓ 1 callersFunctiongenMetaData
()
packages/hooks/gulpfile.js:26
↓ 1 callersFunctionget
(key: K)
packages/hooks/src/useMap/index.ts:30
↓ 1 callersFunctiongetCache
(key: CachedKey)
packages/hooks/src/useRequest/src/utils/cache.ts:40
↓ 1 callersFunctiongetCachePromise
(cacheKey: CachedKey)
packages/hooks/src/useRequest/src/utils/cachePromise.ts:4
↓ 1 callersFunctiongetClientHeight
(el: Document | Element)
packages/hooks/src/utils/rect.ts:19
↓ 1 callersFunctiongetData
(params: PaginationType)
packages/hooks/src/useSelections/demo/demo3.tsx:57
↓ 1 callersFunctiongetDataFromServer
(props: PaginationType)
packages/hooks/src/useSelections/demo/demo3.tsx:29
↓ 1 callersFunctiongetDocumentOrShadow
(target: BasicTarget | BasicTarget[])
packages/hooks/src/utils/getDocumentOrShadow.ts:26
↓ 1 callersFunctiongetHook
(initialValue?: T, compareFunction?: ShouldUpdateFunc<T>)
packages/hooks/src/usePrevious/__tests__/index.spec.ts:7
↓ 1 callersFunctiongetInitValue
()
packages/hooks/src/useSet/index.ts:5
← previousnext →101–200 of 538, ranked by callers