63 packages found
Adds an event listener to window
Runs a callback effect atmost one time when a condition becomes true
Count down to a target timestamp and call callbacks every second (or provided peried)
Takes a callback and fires it when a condition is true
A hook to provide the geolocation info on client side.
UseState but auto updates values to localStorage
A hook that tracks mutations of an element. It returns a callbackRef.
Easily select a single value from a list of values. very useful for radio buttons, select inputs etc.
A React hook that manages state in the form of a stack
usePreviousDifferent hooks returns the last different value of a variable
Resolves to useEffect when window is not in scope and useLayout effect in the browser
A custom hook to easily select multiple values from a list
A React hook that manages state in the form of a queue
Avoid stale state in callbacks with this hook. Auto updates values using a ref.
A react hook to manage state in a key value pair map.
A react hook to an event listener to the document object
Very similar to useKey but it returns a ref
Like use-fresh-ref but specifically for functions
A react hook to add an event listener to a ref
A React hook to get the scroll position of the window