---
title: "@mantine/hooks 9.8.2 Breaking Changes on npm | Since.dev"
description: "What each @mantine/hooks release removed, renamed or changed: 64 breaking changes in 6 versions on npm, each with its source."
canonical_url: https://since.dev/packages/npm/@mantine/hooks
last_updated: 2026-12-04
---

# @mantine/hooks breaking changes

@mantine/hooks 9.8.2 (November 20, 2026) is its newest release with breaking changes. The first: Signature changed UseSplitterReturnValue.getHandleProps. Every breaking API change we have recorded in @mantine/hooks on npm: 64 breaking changes in 6 versions. Below, its 6 versions with breaking changes, newest first, removals and renames first, each with its source.

Updated December 4, 2026

Latest version `9.9.0`, released December 4, 2026. [Source repository](https://github.com/mantinedev/mantine)

Packages on npm run on Node.js. [Node.js end of life dates](https://since.dev/calendar/nodejs.md).

- From [8.0.0](#v-8-0-0) to [9.8.2](#v-9-8-2): 38 breaking changes in 4 versions.
- From [7.0.0](#v-7-0-0) to [9.8.2](#v-9-8-2): 41 breaking changes in 5 versions.

## @mantine/hooks 9.8.2 breaking changes

@mantine/hooks 9.8.2, released November 20, 2026: 1 breaking change.

- **Signature changed** `UseSplitterReturnValue.getHandleProps`  

Was getHandleProps: (input: {index: number;}) => {ref: React.RefCallback\<HTMLElement>; role: 'separator'; 'aria-orientation': 'horizontal' | 'vertical'; 'aria-valuenow': number; 'aria-valuemin': number; 'aria-valuemax': number; tabIndex... [npmjs.com](https://www.npmjs.com/package/@mantine/hooks/v/9.8.2)

## @mantine/hooks 9.7.5 breaking changes

@mantine/hooks 9.7.5, released November 4, 2026: 2 breaking changes.

- **Behavior changed**  

Values with a leading decimal point are now parsed as plain values instead of being matched to theme sizes. Code that relied on the old theme size lookup for such values may render differently. [github.com](https://github.com/mantinedev/mantine/releases/tag/9.7.5)
- **Signature changed** `UseInputStateReturnValue`  

Was type UseInputStateReturnValue\<T> = \[T, (value: null | undefined | T | React.ChangeEvent\<any>) => void\]; now type UseInputStateReturnValue\<T> = \[T, (value: null | undefined | T | React.ChangeEvent\<any> | ((current: T) => T)) => void\]. [npmjs.com](https://www.npmjs.com/package/@mantine/hooks/v/9.7.5)

## @mantine/hooks 9.0.0 breaking changes

@mantine/hooks 9.0.0, released March 31, 2026: 30 breaking changes.

- **Removed** `OS`  

Rename the type in your code to UseOSReturnValue. [npmjs.com](https://www.npmjs.com/package/@mantine/hooks/v/9.0.0)
- **Removed** `useFullscreen`  

Use useFullscreenDocument for the document element or useFullscreenElement for a custom target element. [npmjs.com](https://www.npmjs.com/package/@mantine/hooks/v/9.0.0)
- **Removed** `UseFullscreenReturnValue`  

UseFullscreenReturnValue was removed in @mantine/hooks 9.0.0 [npmjs.com](https://www.npmjs.com/package/@mantine/hooks/v/9.0.0)
- **Removed** `UseScrollSpyReturnType`  

Rename the type in your code to UseScrollSpyReturnValue. [npmjs.com](https://www.npmjs.com/package/@mantine/hooks/v/9.0.0)
- **Renamed** `StateHistory`  

Rename the type in your code to UseStateHistoryValue. [alpha.mantine.dev](https://alpha.mantine.dev/guides/8x-to-9x)
- **Behavior changed** `readLocalStorageValue`  

Without defaultValue the value is typed string | undefined; handle undefined in your code. [alpha.mantine.dev](https://alpha.mantine.dev/guides/8x-to-9x)
- **Behavior changed** `readSessionStorageValue`  

Without defaultValue the value is typed string | undefined; handle undefined in your code. [alpha.mantine.dev](https://alpha.mantine.dev/guides/8x-to-9x)
- **Behavior changed** `useLocalStorage`  

Without defaultValue the value is typed string | undefined; provide defaultValue to keep the non-undefined type. [alpha.mantine.dev](https://alpha.mantine.dev/guides/8x-to-9x)
- **Behavior changed** `useMouse`  

To track mouse position on the document, use useMousePosition instead of useMouse. [alpha.mantine.dev](https://alpha.mantine.dev/guides/8x-to-9x)
- **Behavior changed** `useSessionStorage`  

Without defaultValue the value is typed string | undefined; provide defaultValue to keep the non-undefined type. [alpha.mantine.dev](https://alpha.mantine.dev/guides/8x-to-9x)

And 20 more in this version. [Sign up to see every change](https://app.since.dev/login?mode=signup&src=package-page)

## @mantine/hooks 9.0.0-alpha.0 breaking changes

@mantine/hooks 9.0.0-alpha.0, released March 31, 2026: 5 breaking changes.

- **Renamed** `createPolymorphicComponent`  

The createPolymorphicComponent function was renamed to polymorphic. Update imports and calls to the new name. [github.com](https://github.com/mantinedev/mantine/releases/tag/9.0.0-alpha.0)
- **Behavior changed**  

All components now use font-weight 600 instead of 500, which changes text appearance. [github.com](https://github.com/mantinedev/mantine/releases/tag/9.0.0-alpha.0)
- **Behavior changed**  

The light variant now uses colors without transparency, so its appearance changes in all components. [github.com](https://github.com/mantinedev/mantine/releases/tag/9.0.0-alpha.0)
- **Behavior changed** `mod`  

The mod prop now converts camelCase keys to kebab-case data attributes in all components. [github.com](https://github.com/mantinedev/mantine/releases/tag/9.0.0-alpha.0)
- **Configuration changed**  

All @mantine/\* packages now require React 19+. Upgrade React before upgrading Mantine. [github.com](https://github.com/mantinedev/mantine/releases/tag/9.0.0-alpha.0)

## @mantine/hooks 8.0.0 breaking changes

@mantine/hooks 8.0.0, released May 5, 2025: 3 breaking changes.

- **Signature changed** `OS`  

Was type OS = 'undetermined' | 'macos' | 'ios' | 'windows' | 'android' | 'linux'; now type OS = 'undetermined' | 'macos' | 'ios' | 'windows' | 'android' | 'linux' | 'chromeos'. [npmjs.com](https://www.npmjs.com/package/@mantine/hooks/v/8.0.0)
- **Signature changed** `use-os`  

The return type of use-os now includes a chromeos value, so code with exhaustive checks on the returned OS value may need a new case. [github.com](https://github.com/mantinedev/mantine/releases/tag/8.0.0)
- **Signature changed** `useIsomorphicEffect`  

Was const useIsomorphicEffect: typeof useLayoutEffect; now const useIsomorphicEffect: typeof useEffect. [npmjs.com](https://www.npmjs.com/package/@mantine/hooks/v/8.0.0)

## @mantine/hooks 7.0.0 breaking changes

@mantine/hooks 7.0.0, released September 18, 2023: 23 breaking changes.

- **Removed** `useScrollLock`  

useScrollLock was removed in @mantine/hooks 7.0.0 [npmjs.com](https://www.npmjs.com/package/@mantine/hooks/v/7.0.0)
- **Signature changed** `assignRef`  

Was function assignRef\<T = any>(ref: React.ForwardedRef\<T>, value: T | null): void; now function assignRef\<T>(ref: PossibleRef\<T>, value: T): void. [npmjs.com](https://www.npmjs.com/package/@mantine/hooks/v/7.0.0)
- **Signature changed** `clamp`  

Was function clamp(value: number, min: number, max: number): number; now function clamp(value: number, min: number | undefined, max: number | undefined): number. [npmjs.com](https://www.npmjs.com/package/@mantine/hooks/v/7.0.0)
- **Signature changed** `mergeRefs`  

Was function mergeRefs\<T = any>(...refs: Ref\<T>\[\]): (node: T | null) => void; now function mergeRefs\<T>(...refs: PossibleRef\<T>\[\]): (node: T | null) => void. [npmjs.com](https://www.npmjs.com/package/@mantine/hooks/v/7.0.0)
- **Signature changed** `useClickOutside`  

Was function useClickOutside\<T extends HTMLElement = any>(handler: () => void, events?: string\[\] | null, nodes?: (HTMLElement | null)\[\]): import("react").MutableRefObject\<T>; now function useClickOutside\<T extends HTMLElement =... [npmjs.com](https://www.npmjs.com/package/@mantine/hooks/v/7.0.0)
- **Signature changed** `useClipboard`  

Was function useClipboard({timeout}?: {timeout?: number;}): {copy: (valueToCopy: any) => void; reset: () => void; error: Error; copied: boolean;}; now function useClipboard({timeout}?: {timeout?: number | undefined;}): {copy: (valueToCopy... [npmjs.com](https://www.npmjs.com/package/@mantine/hooks/v/7.0.0)
- **Signature changed** `useElementSize`  

Was function useElementSize\<T extends HTMLElement = any>(): {ref: import("react").MutableRefObject\<T>; width: number; height: number;}; now function useElementSize\<T extends HTMLElement = any>(): {ref: import("react").RefObject\<T>; width... [npmjs.com](https://www.npmjs.com/package/@mantine/hooks/v/7.0.0)
- **Signature changed** `useEventListener`  

Was function useEventListener\<K extends keyof HTMLElementEventMap, T extends HTMLElement = any>(type: K, listener: (this: HTMLDivElement, ev: HTMLElementEventMap\[K\]) => any, options?: boolean | AddEventListenerOptions)... [npmjs.com](https://www.npmjs.com/package/@mantine/hooks/v/7.0.0)
- **Signature changed** `useEyeDropper`  

Was function useEyeDropper(): {supported: boolean; open: (options?: EyeDropperOpenOptions) => Promise\<EyeDropperOpenReturnType>;}; now function useEyeDropper(): {supported: boolean; open: (options?: EyeDropperOpenOptions) =>... [npmjs.com](https://www.npmjs.com/package/@mantine/hooks/v/7.0.0)
- **Signature changed** `useHover`  

Was function useHover\<T extends HTMLElement = HTMLDivElement>(): {ref: import("react").MutableRefObject\<T>; hovered: boolean;}; now function useHover\<T extends HTMLElement = HTMLDivElement>(): {ref: import("react").RefObject\<T>; hovered... [npmjs.com](https://www.npmjs.com/package/@mantine/hooks/v/7.0.0)

And 13 more in this version. [Sign up to see every change](https://app.since.dev/login?mode=signup&src=package-page)

## Related packages

- [@mantine/core](https://since.dev/packages/npm/@mantine/core.md)
- [@mantine/form](https://since.dev/packages/npm/@mantine/form.md)
- [@mantine/schedule](https://since.dev/packages/npm/@mantine/schedule.md)
- [@mantine/dates](https://since.dev/packages/npm/@mantine/dates.md)
- [@mantine/tiptap](https://since.dev/packages/npm/@mantine/tiptap.md)
- [@mantine/notifications](https://since.dev/packages/npm/@mantine/notifications.md)

## Check your code

These are the changes. To see which of them reach your code, [scan a public repository](https://since.dev/scan.md), or have your coding agent call `check_code` with your manifest or lockfile over [MCP](https://since.dev/docs.md#mcp). [The API](https://since.dev/docs.md#api) reads every change in every version. A fix pull request opens for the changes that reach a connected repository. Nothing merges or deploys.

## Put your code on continuous maintenance.

Scan a public repository now, or give your agent one line.

[Scan a repository](https://since.dev/scan.md). Any public GitHub repository. No sign-in.

### Tell your agent what changed since it was trained.

`claude mcp add --transport http since https://api.since.dev/mcp`

[Get an API key](https://app.since.dev/login?mode=signup)

Codex, Cursor and any MCP client use https://api.since.dev/mcp.

---

Every page on this site as Markdown: https://since.dev/sitemap.md. For agents: https://since.dev/llms.txt.
