1.3.0
Minor Changes
- 065d7c1: Add
useCounter,useMap,useSet, anduseCopyToClipboardto the public API.
Package history
Every published better-hooks version and its user-facing Changeset notes, newest first.
useCounter, useMap, useSet, and useCopyToClipboard to the public API.useCounter, useMap, useSet, and useCopyToClipboard with stable actions, SSR-safe boundaries, and observable clipboard errors.useKeyPress when its event list changes, and report media listener setup and cleanup failures through onError.useWebSocket, useIntersectionObserver, and useResizeObserver with SSR-safe snapshots, stable actions, and observable error handling.better-hooks/use-storage export is removed; import useLocalStorage from
better-hooks/use-local-storage and useSessionStorage from
better-hooks/use-session-storage instead. Keyboard filter arrays now
represent alternatives only; use strings such as ctrl+s for chords. Error
observers can no longer replace the original thrown error or rejected promise
when the observer itself fails.