Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/DomeSy/domesy-hooks
/ functions
Functions
208 in github.com/DomeSy/domesy-hooks
⨍
Functions
208
◇
Types & classes
55
↓ 27 callers
Function
useCss
(css: CSSProps)
src/hooks/useCss/index.tsx:22
↓ 17 callers
Function
useCreation
(fn: () => T, deps: DependencyList)
src/hooks/useCreation/index.tsx:17
↓ 16 callers
Function
useSafeState
( initialState: S | (() => S) )
src/hooks/useMemo/index.tsx:9
↓ 11 callers
Function
useEventListener
( event: string, handler: (...e: any) => void, target?: any )
src/hooks/useEventListener/index.tsx:4
↓ 10 callers
Function
useLatest
(value: T)
src/hooks/useLatest/index.tsx:3
↓ 8 callers
Function
useCountDown
({ targetTime, targetDate, interval = 1000, onEnd, }: Options = {})
src/hooks/useCountDown/index.tsx:38
↓ 6 callers
Function
onChange
()
src/hooks/useFullscreen/index.tsx:20
↓ 6 callers
Function
useConnect
(mapStoreToState?: (data: any) => void)
src/example/UseReduxView/useRedux/useConnect.ts:5
↓ 5 callers
Function
getTarget
(target: BasicTarget<T>)
src/hooks/utils/getTarget.ts:4
↓ 4 callers
Function
selectDel
(data: T | T[])
src/hooks/useSelections/index.tsx:21
↓ 4 callers
Function
useSelections
(lists: T[], initValues: T[] = [])
src/hooks/useSelections/index.tsx:2
↓ 4 callers
Function
useUnmount
(fn: () => void)
src/hooks/useUnmount/index.tsx:4
↓ 4 callers
Function
useUpdate
()
src/hooks/useUpdate/index.tsx:3
↓ 3 callers
Function
calcRemain
(target?: TDate)
src/hooks/useCountDown/index.tsx:22
↓ 3 callers
Function
checkIfSnapshotChanged
(inst: { value: T; getSnapshot: () => T; })
src/communication/useSyncExternalStore/useSyncExternalStore.tsx:36
↓ 3 callers
Function
clac
()
src/hooks/useResponsive/index.tsx:23
↓ 3 callers
Function
selectAdd
(data: T | T[])
src/hooks/useSelections/index.tsx:11
↓ 3 callers
Function
setSelect
(data: T | T[])
src/hooks/useSelections/index.tsx:31
↓ 3 callers
Function
toggle
(data: T)
src/hooks/useSelections/index.tsx:42
↓ 3 callers
Function
useDocumentVisibility
()
src/hooks/useDocumentVisibility/index.tsx:13
↓ 3 callers
Function
useHover
(target: BasicTarget, options?: Options)
src/hooks/useHover/index.tsx:11
↓ 3 callers
Function
useInViewport
(target: any, options?: Options)
src/hooks/useInViewport/index.tsx:11
↓ 2 callers
Function
getNowData
()
src/hooksView/UseCreationView/index.tsx:8
↓ 2 callers
Function
getVisibility
()
src/hooks/useDocumentVisibility/index.tsx:6
↓ 2 callers
Function
isSelected
(data: T)
src/hooks/useSelections/index.tsx:8
↓ 2 callers
Function
observer
( initialVal: T, cb: () => void )
src/hooks/useReactive/index.tsx:3
↓ 2 callers
Function
subscribe
(callback: any)
src/communication/useSyncExternalStore/useOnlineStatus.ts:13
↓ 2 callers
Function
toggleAll
()
src/hooks/useSelections/index.tsx:73
↓ 2 callers
Function
useDebounceFn
(fn: T, options?: DebounceOptions)
src/hooks/useDebounceFn/index.tsx:13
↓ 2 callers
Function
useFullscreen
(target: BasicTarget, options?: Options)
src/hooks/useFullscreen/index.tsx:12
↓ 2 callers
Function
useMount
(fn: () => void)
src/hooks/useMount/index.tsx:3
↓ 2 callers
Function
useNetwork
()
src/hooks/useNetwork/index.tsx:33
↓ 2 callers
Function
useOnlineStatus
()
src/communication/useSyncExternalStore/useOnlineStatus.ts:4
↓ 2 callers
Function
useSyncExternalStore
( subscribe: any, getSnapshot: () => T, getServerSnapshot?: () => T )
src/communication/useSyncExternalStore/useSyncExternalStore.tsx:4
↓ 2 callers
Function
useTextSelection
( target: BasicTarget | Document = document )
src/hooks/useTextSelection/index.tsx:43
↓ 2 callers
Function
useThrottleFn
(fn: T, options?: ThrottleOptions)
src/hooks/useThrottleFn/index.tsx:12
↓ 2 callers
Function
useUnmountedRef
()
src/hooks/useUnmountedRef/index.tsx:3
↓ 1 callers
Function
HOC
(Component: any)
src/communication/hoc/index.tsx:4
↓ 1 callers
Function
add
()
src/basic/useImperativeHandle/index1.tsx:12
↓ 1 callers
Function
add
()
src/basic/useImperativeHandle/index.tsx:12
↓ 1 callers
Function
calcFormat
(milliseconds: number)
src/hooks/useCountDown/index.tsx:28
↓ 1 callers
Function
configResponsive
(config: ResponsiveConfig)
src/hooks/useResponsive/index.tsx:19
↓ 1 callers
Method
createValidate
( name: NameProps, updateChange: updateProps )
src/example/Form/HooksForm/useForm/FormStore.tsx:46
↓ 1 callers
Function
depsAreSame
( oldDeps: DependencyList, deps: DependencyList )
src/hooks/useCreation/index.tsx:4
↓ 1 callers
Function
getConnection
()
src/hooks/useNetwork/index.tsx:20
↓ 1 callers
Function
getList
(key: any)
src/basic/useDeferredValue/index.tsx:4
↓ 1 callers
Function
getList
(key: any)
src/communication/useTransition/useDeferredValueView.tsx:4
↓ 1 callers
Function
getRectSelection
(selection: Selection | null)
src/hooks/useTextSelection/index.tsx:33
↓ 1 callers
Function
getSnapshot
()
src/communication/useSyncExternalStore/useOnlineStatus.ts:9
↓ 1 callers
Function
isFunction
(value: unknown)
src/hooks/useMemo/index.tsx:2
↓ 1 callers
Function
mockRequest
(count: number)
src/hooksView/UseLockFnView/index.tsx:5
↓ 1 callers
Function
onChangeEffect
(deps1?: DependencyList, deps2?: DependencyList)
src/hooks/useTrackedEffect/index.tsx:14
↓ 1 callers
Method
render
()
src/communication/useref/index.tsx:4
↓ 1 callers
Function
reportWebVitals
(onPerfEntry?: ReportHandler)
src/reportWebVitals.ts:3
↓ 1 callers
Function
selectAll
()
src/hooks/useSelections/index.tsx:63
↓ 1 callers
Function
shallowEqual
(objA: any, objB: any)
src/example/UseReduxView/useRedux/shallowEqual.ts:3
↓ 1 callers
Method
speak
()
src/communication/extends/index.tsx:12
↓ 1 callers
Function
sum
(a: number, b: number)
src/hooks/sum/index.ts:1
↓ 1 callers
Function
unSelectAll
()
src/hooks/useSelections/index.tsx:68
↓ 1 callers
Function
useCopy
()
src/hooks/useCopy/index.tsx:8
↓ 1 callers
Function
useCounter
(initialValue: number = 0)
src/hooks/useCounter/index.tsx:3
↓ 1 callers
Function
useCreateStore
(reducer: any, initState: any)
src/example/UseReduxView/useRedux/useCreateStore.ts:9
↓ 1 callers
Function
useDebounce
(value: T, options?: DebounceOptions)
src/hooks/useDebounce/index.tsx:5
↓ 1 callers
Function
useForm
(initialValues: DataProps, formInstance?: FormInstance)
src/example/Form/HooksForm/useForm/index.tsx:5
↓ 1 callers
Function
useLockFn
( fn: (...args: P) => Promise<V> )
src/hooks/useLockFn/index.tsx:3
↓ 1 callers
Function
usePow
(list: number[])
src/basic/useMemo/index.tsx:4
↓ 1 callers
Function
useReactive
(initialState: T)
src/hooks/useReactive/index.tsx:24
↓ 1 callers
Function
useResponsive
()
src/hooks/useResponsive/index.tsx:43
↓ 1 callers
Function
useSafeState
(initialState?: S | (() => S))
src/hooks/useSafeState/index.tsx:12
↓ 1 callers
Function
useThrottle
(value: T, options?: ThrottleOptions)
src/hooks/useThrottle/index.tsx:5
↓ 1 callers
Function
useTrackedEffect
( effect: Effect, deps?: DependencyList, type_list?: string[] )
src/hooks/useTrackedEffect/index.tsx:26
Function
App
(props: any)
src/App.tsx:12
Function
App
()
src/communication/current/index.tsx:4
Function
CheckCard
(props: CheckCardProps)
src/example/CheckCardView/CheckCard/index.tsx:15
Function
Child
()
src/basic/useEffect/index1.tsx:4
Function
Child
()
src/basic/useEffect/index.tsx:4
Function
Child
({ count })
src/basic/useReducer/index.tsx:4
Function
Child
()
src/basic/useContent/index.tsx:6
Function
Child
({cRef}:any)
src/basic/useImperativeHandle/index1.tsx:4
Function
Child
(props:any, ref:any)
src/basic/useImperativeHandle/index.tsx:4
Function
Child
(props)
src/communication/props/index.tsx:18
Function
Child
({ getNumber })
src/communication/callback/index.tsx:23
Function
Child
({ number, msg = "" }: any)
src/communication/memo/index.tsx:4
Function
Child
()
src/hooksView/UseMountView/index.tsx:6
Function
Child
()
src/hooksView/UseUnmountedRefView/index.tsx:5
Function
Child
()
src/hooksView/UseSafeStateView/index.tsx:5
Function
FormItem
(props: FormItemProps)
src/example/Form/HooksForm/formItem.tsx:15
Function
Group
(props)
src/example/CheckCardView/CheckCard/Group.tsx:12
Function
Index
()
src/example/ReduxView/index.tsx:10
Function
Index
({ count, flag, dispatch }: any)
src/example/ReduxView/view/Child.tsx:6
Function
Index
({ count, msg, dispatch }: any)
src/example/ReduxView/view/Sibling.tsx:4
Function
Index
({ count, msg, dispatch }: any)
src/example/ReduxView/view/Son.tsx:4
Function
Index
({ count, dispatch }: any)
src/example/ReduxView/view/Clear.tsx:4
Function
Index
({ count, msg, onAdd, onSub }: any)
src/example/ReduxView/view/Father.tsx:5
Function
Index
(props: any)
src/example/ReduxView/view/index.tsx:6
Function
Index
()
src/example/AntDForm/index.tsx:4
Function
Index
()
src/example/UseReduxView/index.tsx:6
Function
Index
()
src/example/UseReduxView/view/Child.tsx:6
Function
Index
()
src/example/UseReduxView/view/Sibling.tsx:4
Function
Index
()
src/example/UseReduxView/view/Son.tsx:12
next →
1–100 of 208, ranked by callers