Alibaba Hooks
A high-quality & reliable React Hooks library. https://github.com/alibaba/hooks
useRequest
- Quick Start
- Basic usage
- Loading Delay
- Polling
- Ready
- RefreshDeps
- RefreshOnWindowFocus
- Debounce
- Throttle
- Cache & SWR
- Error Retry
Scene
- useAntdTable
- useFusionTable
- useInfiniteScroll
- usePagination
- useDynamicList
- useVirtualList
- useHistoryTravel
- useNetwork
- useSelections
- useCountDown
- useCounter
- useTextSelection
- useWebSocket
LifeCycle
- useMount
- useUnmount
- useUnmountedRef
State
- useSetState
- useBoolean
- useToggle
- useUrlState
- useCookieState
- useLocalStorageState
- useSessionStorageState
- useDebounce
- useThrottle
- useMap
- useSet
- usePrevious
- useRafState
- useSafeState
- useGetState
Effect
- useUpdateEffect
- useUpdateLayoutEffect
- useAsyncEffect
- useDebounceEffect
- useDebounceFn
- useThrottleFn
- useThrottleEffect
- useDeepCompareEffect
- useInterval
- useTimeout
- useLockFn
- useUpdate
Dom
- useEventListener
- useClickAway
- useDocumentVisibility
- useDrop & useDrag
- useEventTarget
- useExternal
- useTitle
- useFavicon
- useFullscreen
- useHover
- useInViewport
- useKeyPress
- useLongPress
- useMouse
- useResponsive
- useScroll
- useSize
- useFocusWithin
Advanced
- useControllableValue
- useCreation
- useEventEmitter
- useIsomorphicLayoutEffect
- useLatest
- useMemoizedFn
- useReactive
Dev
- useTrackedEffect
- useWhyDidYouUpdate