npm upgrade
Homeusehooks-ts 2 → 3
2.16.0 → 3.1.1. What the package's exports lost, renamed or changed between the two releases, from lurq's extraction of both published tarballs.
usehooks-ts 3.1.1 removes or renames exports your code may import.
- Removed
- 9
- Renamed
- 0
- Signature changes
- 5
- Types removed
- 0
- Newly deprecated
- 0
- Added
- 0
Does this break your code?
Run this in your project. It compares both releases against the names your code actually imports, locally, with no account and nothing sent to lurq:
npx lurqrun check-upgrade --upgrade usehooks-ts@2.16.0..3.1.1
To have your coding agent check upgrades like this before it writes them, connect lurq to Claude Code, Cursor, VS Code or Codex:
npx lurqrun
Removed
Gone at runtime, with no replacement found under another name. Imports of these fail.
- useDebouncefunction
- useEffectOncefunction
- useElementSizefunction
- useFetchfunction
- useImageOnLoadfunction
- useIsFirstRenderfunction
- useLockedBodyfunction
- useSsrfunction
- useUpdateEffectfunction
Signature changes
Still exported, but the number of arguments it reads changed.
- useBoolean1 → 0 arguments
- useDarkMode1 → 0 arguments
- useIntersectionObserver2 → 0 arguments
- useMediaQuery2 → 1 arguments
- useTernaryDarkMode1 → 0 arguments
An export diff shows what a release removed or re-signatured, not behaviour changes: read the changelog for those. Extracted Sep 10, 2026. usehooks-ts on lurq.