GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - uidotdev/usehooks: A collection of modern, server-safe React hooks – from the ui.dev team

BranchesTags
Open more actions menu

Latest commit

 

History

546 Commits
546 Commits

Folders and files

NameName
Last commit message
Last commit date
usehooks.com
usehooks.com
 
 
.gitignore
.gitignore
 
 
LICENSE
LICENSE
 
 
README.md
README.md
 
 
index.d.ts
index.d.ts
 
 
index.js
index.js
 
 
package-lock.json
package-lock.json
 
 
package.json
package.json
 
 
tsconfig.json
tsconfig.json
 
 

Repository files navigation

useHooks

useHooks

A collection of modern, server-safe React hooks – from the ui.dev team.

Compatible with React v18.0.0+.

Standard

Install

npm i @uidotdev/usehooks

Hooks

  • useBattery
  • useClickAway
  • useCopyToClipboard
  • useCounter
  • useDebounce
  • useDefault
  • useDocumentTitle
  • useFavicon
  • useGeolocation
  • useHistoryState
  • useHover
  • useIdle
  • useIntersectionObserver
  • useIsClient
  • useIsFirstRender
  • useList
  • useLocalStorage
  • useLockBodyScroll
  • useLongPress
  • useMap
  • useMeasure
  • useMediaQuery
  • useMouse
  • useNetworkState
  • useObjectState
  • useOrientation
  • usePreferredLanguage
  • usePrevious
  • useQueue
  • useRenderCount
  • useRenderInfo
  • useScript
  • useSessionStorage
  • useSet
  • useThrottle
  • useToggle
  • useVisibilityChange
  • useWindowScroll
  • useWindowSize

Experimental

Install

npm i @uidotdev/usehooks@experimental react@experimental react-dom@experimental

Hooks

  • useContinuousRetry
  • useCountdown
  • useEventListener
  • useFetch
  • useInterval
  • useIntervalWhen
  • useKeyPress
  • useLogger
  • usePageLeave
  • useRandomInterval
  • useTimeout

About

A collection of modern, server-safe React hooks – from the ui.dev team

usehooks.com

Topics

astrobloghooksreactreact-hooksvercel

Resources

Readme
MIT license
Activity
Custom properties

Stars

11.5k stars

Watchers

60 watching

Forks

589 forks
Report repository

Releases

Packages

Used by

Contributors

Languages

You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.