🎩 You're Invited:Meet the Socket team at Black Hat in Las Vegas, August 3-6.RSVP
Sign In

hookbase

Package Overview
Dependencies
Maintainers
1
Versions
83
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

hookbase - npm Package Compare versions

Comparing version
0.1.9
to
0.1.10
+1
-1
package.json
{
"name": "hookbase",
"version": "0.1.9",
"version": "0.1.10",
"type": "module",

@@ -5,0 +5,0 @@ "bin": {

+10
-18

@@ -38,21 +38,13 @@ # 📦 React Reusable Hooks

useBoolean
useCopyToClipboard
useDocumentTitle
useInterval
useIsomorphicLayoutEffect
useTimeout
useToggle
useUnmount
useCounter
useMousePosition
- useBoolean
- useCopyToClipboard
- useDocumentTitle
- useInterval
- useIsomorphicLayoutEffect
- useTimeout
- useToggle
- useUnmount
- useCounter
- useMousePosition
Here are some of the included hooks (expand as needed):
- `useDebounce(value, delay)` → Debounces a value by the given delay.
- `useLocalStorage(key, initialValue)` → Persist state in localStorage.
- `usePrevious(value)` → Get the previous value of a state or prop.
- `useOnClickOutside(ref, handler)` → Detect clicks outside of a given element.
- `useFetch(url, options)` → Simplify data fetching with built-in loading and error states.
---

@@ -59,0 +51,0 @@