Returns **[boolean](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Boolean)**`true` if the prefers-color-scheme matches
### usePrefersReducedData
Hook to get the prefers-reduce-data value.
Returns **[boolean](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Boolean)**`true` if the prefers-reduce-data is set reduce in the media queries that matches
### usePrefersReducedMotion
Hook to get the prefers-reduce-motion value.
Returns **[boolean](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Boolean)**`true` if the prefers-reduce-motion is set reduce in the media queries that matches
### useResizeObserver
Hook to track dimension changes in a DOM element using the ResizeObserver API.
Returns **{ref: RefObject<[Element](https://developer.mozilla.org/docs/Web/API/Element)>, contentBoxSize: ResizeObserverSize, borderBoxSize: ResizeObserverSize}** a triple containing the ref and the size information
### useSafely
Hook that wraps pairs of state and dispatcher to provide a new dispatcher
which can be safe and asynchronically called even after the component unmounted.
#### Parameters
-`pair`**\[S, (Dispatch<A> | DispatchWithoutAction)]** the state and dispatcher pair which will be patched
-`pair.0`
-`pair.1`
Returns **\[S, D]** a state value and safe dispatcher pair
### useStableArray
Hook to create an array with stable identity if its elements are equal.
#### Parameters
-`array`**T** the array
-`compare`**function (a: T, b: T): [boolean](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Boolean)** the equality function that checks if two array elements are
equal (optional, default `Object.is`)
Returns **T** the passed array if the elements are NOT equals; the previously
stored array otherwise
### useLocalStorage
Hook to deal with localStorage
#### Parameters
-`key` the key associated to the value in the storage
-`initialValue` the value returned when the key is not found at the storage
Returns **any** a state and a setter function
### useSessionStorage
Hook to deal with sessionStorage
#### Parameters
-`key` the key associated to the value in the storage
-`initialValue` the value returned when the key is not found at the storage
Returns **any** a state and a setter function
### useToggle
Hook to create a toggleable boolean state.
#### Parameters
-`initialValue`**([boolean](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Boolean) | function (): [boolean](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Boolean))?** the initial value or the initial state generator function
Returns **\[[boolean](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Boolean), D]** a state boolean value and a state toggler function
### useUniqueId
Hook to keep a unique ID string.
Returns **[string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)** the unique ID string
| [useMergedRefs](./fuselage-hooks.usemergedrefs.md) | Hook to merge refs and callbacks refs into a single callback ref. Useful when your component need a internal ref while receiving a forwared ref. |
| [useMutableCallback](./fuselage-hooks.usemutablecallback.md) | Hook to create a stable callback from a mutable one. |
| [usePosition](./fuselage-hooks.useposition.md) | Hook to deal and position an element using an anchor |
| [usePrefersColorScheme](./fuselage-hooks.usepreferscolorscheme.md) | Hook to get the prefers-color-scheme value. |
| [usePrefersReducedData](./fuselage-hooks.useprefersreduceddata.md) | Hook to get the prefers-reduce-data value. |
| [usePrefersReducedMotion](./fuselage-hooks.useprefersreducedmotion.md) | Hook to get the prefers-reduce-motion value. |
| [useResizeObserver](./fuselage-hooks.useresizeobserver.md) | Hook to track dimension changes in a DOM element using the ResizeObserver API. |