Search results
63 packages found
Count down to a target timestamp and call callbacks every second (or provided peried)
A hook to register an intersection observer listener
A hook to provide the geolocation info on client side.
usePreviousImmediate returns the previous value of a variable even if it was the same or different
useState but syncs with sessionstorage
Takes a callback and fires it when a condition is true
Signal whether or not a media query is currently matched.
A hook that tracks mutations of an element. It returns a callbackRef.
Adds an event listener to window
A react hook to an event listener to the document object
Resolves to useEffect when window is not in scope and useLayout effect in the browser
UseState but auto updates values to localStorage
Merges any number of refs into a single ref
Very similar to useKey but it returns a ref
A React hook to get the scroll position of the window
Easily select a single value from a list of values. very useful for radio buttons, select inputs etc.
A custom hook to easily select multiple values from a list
A React hook that manages state in the form of a queue
A react hook to manage state in a key value pair map.
Like use-fresh-ref but specifically for functions