alpha
Login
Join now
wojtekmaj.pl
/
react-hooks
Star
Starred
Star
Something went wrong. Try again.
Fork
0
Eye filled
Watch
Watching
Watch
[READ-ONLY] Mirror of https://github.com/wojtekmaj/react-hooks. A collection of React Hooks.
hooks
react
react-hooks
+3 more
hooks
react
react-hooks
Star
Starred
Star
Something went wrong. Try again.
Fork
0
Eye filled
Watch
Watching
Watch
Overview
Overview
Issues
Issues
Pulls
Pulls
Pipelines
Pipelines
react-hooks
/
src
78 files
at
main
Wojciech Maj
·
Add typed element overloads to useEventListener
·
2d ago
31166baa
index.spec.ts
Add useDeviceOrientation
2mo ago
index.ts
Add useDeviceOrientation
2mo ago
useCurrentPosition.spec.ts
Import act() from react and not react-dom/test-utils
7mo ago
useCurrentPosition.ts
Revert "Replace typeof window checks with typeof document checks"
2y ago
useDebouncedEffect.spec.ts
Import act() from react and not react-dom/test-utils
7mo ago
useDebouncedEffect.ts
Update Biome to 2.0
1y ago
useDebouncedState.spec.ts
Import act() from react and not react-dom/test-utils
7mo ago
useDebouncedState.ts
Add useDebouncedEffect, useDebouncedState, useDebouncedValue
2y ago
useDebouncedValue.spec.ts
Import act() from react and not react-dom/test-utils
7mo ago
useDebouncedValue.ts
Add useDebouncedEffect, useDebouncedState, useDebouncedValue
2y ago
useDeviceOrientation.spec.ts
Add useDeviceOrientation
2mo ago
useDeviceOrientation.ts
Add useDeviceOrientation
2mo ago
useDocumentVisibility.spec.ts
Add useDocumentVisibility
2mo ago
useDocumentVisibility.ts
Add useDocumentVisibility
2mo ago
useEventListener.spec.ts
Add typed element overloads to useEventListener
2d ago
useEventListener.ts
Add typed element overloads to useEventListener
2d ago
useForcedColors.spec.ts
Add usePrefersContrast, useForcedColors
2mo ago
useForcedColors.ts
Add usePrefersContrast, useForcedColors
2mo ago
useIntersectionObserver.spec.ts
Improve wording in unit tests
2mo ago
useIntersectionObserver.ts
Fix JSDoc comments to match TypeScript types
3y ago
useIntersectionObserverRef.spec.ts
Add useIntersectionObserverRef, useMutationObserverRef, useResizeObserverRef
2mo ago
useIntersectionObserverRef.ts
Add useIntersectionObserverRef, useMutationObserverRef, useResizeObserverRef
2mo ago
useLocalStorage.spec.ts
Import act() from react and not react-dom/test-utils
7mo ago
useLocalStorage.ts
Enable Biome Import Organizer
1y ago
useMatchMedia.spec.ts
Import act() from react and not react-dom/test-utils
7mo ago
useMatchMedia.ts
Fix iframe support in useMatchMedia (#114)
1y ago
useMutationObserver.spec.ts
Improve wording in unit tests
2mo ago
useMutationObserver.ts
Fix JSDoc comments to match TypeScript types
3y ago
useMutationObserverRef.spec.ts
Add useIntersectionObserverRef, useMutationObserverRef, useResizeObserverRef
2mo ago
useMutationObserverRef.ts
Add useIntersectionObserverRef, useMutationObserverRef, useResizeObserverRef
2mo ago
useOnLine.spec.ts
Migrate from RTL to vitest-browser-react
11mo ago
useOnLine.ts
Enable Biome Import Organizer
1y ago
usePermissionState.spec.ts
Import act() from react and not react-dom/test-utils
7mo ago
usePermissionState.ts
Fix "ReferenceError: Can't find variable: Notification" error
1y ago
usePrefersColorScheme.spec.ts
Add usePrefersColorScheme
2mo ago
usePrefersColorScheme.ts
Add usePrefersColorScheme
2mo ago
usePrefersColorSchemeDark.spec.ts
Improve unit tests
2mo ago
usePrefersColorSchemeDark.ts
Add native ESM support (#92)
3y ago
usePrefersColorSchemeLight.spec.ts
Improve unit tests
2mo ago
usePrefersColorSchemeLight.ts
Add native ESM support (#92)
3y ago
usePrefersContrast.spec.ts
Add usePrefersContrast, useForcedColors
2mo ago
usePrefersContrast.ts
Add usePrefersContrast, useForcedColors
2mo ago
usePrefersReducedMotion.spec.ts
Improve unit tests
2mo ago
usePrefersReducedMotion.ts
Add native ESM support (#92)
3y ago
usePrefersReducedTransparency.spec.ts
Improve unit tests
2mo ago
usePrefersReducedTransparency.ts
Add native ESM support (#92)
3y ago
useResizeObserver.spec.ts
Improve wording in unit tests
2mo ago
useResizeObserver.ts
Fix JSDoc comments to match TypeScript types
3y ago
useResizeObserverRef.spec.ts
Add useIntersectionObserverRef, useMutationObserverRef, useResizeObserverRef
2mo ago
useResizeObserverRef.ts
Add useIntersectionObserverRef, useMutationObserverRef, useResizeObserverRef
2mo ago
useScrollLeft.spec.ts
Migrate from RTL to vitest-browser-react
11mo ago
useScrollLeft.ts
Enable Biome Import Organizer
1y ago
useScrollLeftDirection.spec.ts
Migrate from RTL to vitest-browser-react
11mo ago
useScrollLeftDirection.ts
Fix useScrollLeftDirection using scrollY instead of scrollX
7mo ago
useScrollLeftPercent.spec.ts
Migrate from RTL to vitest-browser-react
11mo ago
useScrollLeftPercent.ts
Replace Happy DOM with Vitest Browser Mode
1y ago
useScrollTop.spec.ts
Migrate from RTL to vitest-browser-react
11mo ago
useScrollTop.ts
Enable Biome Import Organizer
1y ago
useScrollTopDirection.spec.ts
Migrate from RTL to vitest-browser-react
11mo ago
useScrollTopDirection.ts
Update React to 19.2.0
7mo ago
useScrollTopPercent.spec.ts
Migrate from RTL to vitest-browser-react
11mo ago
useScrollTopPercent.ts
Replace Happy DOM with Vitest Browser Mode
1y ago
useSessionStorage.spec.ts
Import act() from react and not react-dom/test-utils
7mo ago
useSessionStorage.ts
Enable Biome Import Organizer
1y ago
useSetInterval.spec.ts
Import act() from react and not react-dom/test-utils
7mo ago
useSetInterval.ts
Fix JSDoc comments to match TypeScript types
3y ago
useSetTimeout.spec.ts
Import act() from react and not react-dom/test-utils
7mo ago
useSetTimeout.ts
Fix JSDoc comments to match TypeScript types
3y ago
useTick.spec.ts
Import act() from react and not react-dom/test-utils
7mo ago
useTick.ts
Enable Biome Import Organizer
1y ago
useToggle.spec.ts
Import act() from react and not react-dom/test-utils
7mo ago
useToggle.ts
Remove types that can be inferred easily
3y ago
useWindowHeight.spec.ts
Migrate from RTL to vitest-browser-react
11mo ago
useWindowHeight.ts
Enable Biome Import Organizer
1y ago
useWindowSize.spec.ts
Add useWindowSize
2mo ago
useWindowSize.ts
Add useWindowSize
2mo ago
useWindowWidth.spec.ts
Migrate from RTL to vitest-browser-react
11mo ago
useWindowWidth.ts
Enable Biome Import Organizer
1y ago