Search results
65 packages found
usePreviousDifferent hooks returns the last different value of a variable
Simple hook that monitors element enters or leave the viewport.
Count down to a target timestamp and call callbacks every second (or provided peried)
A hook to register an intersection observer listener
useState but syncs with sessionstorage
usePreviousImmediate returns the previous value of a variable even if it was the same or different
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.
Takes a callback and fires it when a condition is true
A react hook to an event listener to the document object
Adds an event listener to window
Signal whether or not a media query is currently matched.
A React hook to get the scroll position of the window
Resolves to useEffect when window is not in scope and useLayout effect in the browser
Very similar to useKey but it returns a ref
Merges any number of refs into a single ref
A react hook to manage state in a key value pair map.
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