@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
On this page
Latest version 9.9.0, released December 4, 2026. Source repository
Packages on npm run on Node.js. Node.js end of life dates.
- From 8.0.0 to 9.8.2: 38 breaking changes in 4 versions.
- From 7.0.0 to 9.8.2: 41 breaking changes in 5 versions.
@mantine/hooks 9.8.2 breaking changes
- 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
@mantine/hooks 9.7.5 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 - 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
@mantine/hooks 9.0.0 breaking changes
- Removed
OS
Rename the type in your code to UseOSReturnValue. npmjs.com - Removed
useFullscreen
Use useFullscreenDocument for the document element or useFullscreenElement for a custom target element. npmjs.com - Removed
UseFullscreenReturnValue
UseFullscreenReturnValue was removed in @mantine/hooks 9.0.0 npmjs.com - Removed
UseScrollSpyReturnType
Rename the type in your code to UseScrollSpyReturnValue. npmjs.com - Renamed
StateHistory
Rename the type in your code to UseStateHistoryValue. alpha.mantine.dev - Behavior changed
readLocalStorageValue
Without defaultValue the value is typed string | undefined; handle undefined in your code. alpha.mantine.dev - Behavior changed
readSessionStorageValue
Without defaultValue the value is typed string | undefined; handle undefined in your code. alpha.mantine.dev - Behavior changed
useLocalStorage
Without defaultValue the value is typed string | undefined; provide defaultValue to keep the non-undefined type. alpha.mantine.dev - Behavior changed
useMouse
To track mouse position on the document, use useMousePosition instead of useMouse. alpha.mantine.dev - Behavior changed
useSessionStorage
Without defaultValue the value is typed string | undefined; provide defaultValue to keep the non-undefined type. alpha.mantine.dev
And 20 more in this version. Sign up to see every change
@mantine/hooks 9.0.0-alpha.0 breaking changes
- Renamed
createPolymorphicComponent
The createPolymorphicComponent function was renamed to polymorphic. Update imports and calls to the new name. github.com - Behavior changed
All components now use font-weight 600 instead of 500, which changes text appearance. github.com - Behavior changed
The light variant now uses colors without transparency, so its appearance changes in all components. github.com - Behavior changed
mod
The mod prop now converts camelCase keys to kebab-case data attributes in all components. github.com - Configuration changed
All @mantine/* packages now require React 19+. Upgrade React before upgrading Mantine. github.com
@mantine/hooks 8.0.0 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 - 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 - Signature changed
useIsomorphicEffect
Was const useIsomorphicEffect: typeof useLayoutEffect; now const useIsomorphicEffect: typeof useEffect. npmjs.com
@mantine/hooks 7.0.0 breaking changes
- Removed
useScrollLock
useScrollLock was removed in @mantine/hooks 7.0.0 npmjs.com - 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 - 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 - 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 - 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 - 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 - 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 - 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 - Signature changed
useEyeDropper
Was function useEyeDropper(): {supported: boolean; open: (options?: EyeDropperOpenOptions) => Promise<EyeDropperOpenReturnType>;}; now function useEyeDropper(): {supported: boolean; open: (options?: EyeDropperOpenOptions) =>... npmjs.com - 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
And 13 more in this version. Sign up to see every change
Related packages
Check your code
These are the changes. To see which of them reach your code, scan a public repository, or have your coding agent call check_code with your manifest or lockfile over MCP. The 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.
See how out of date your code is.
Tell your agent what changed since it was trained.
claude mcp add --transport http since https://api.since.dev/mcpCodex, Cursor and any MCP client use https://api.since.dev/mcp.