# react-hookz/web

React hooks done right, for browser and SSR.

Repository: https://github.com/react-hookz/web
Canonical: https://ross.abutalabs.com/products/react-hookz-web
Homepage: https://react-hookz.github.io/web/
Language: TypeScript
License: MIT
License Family: permissive
Topics: react, hook, react-hook, browser, ssr, hacktoberfest, hooks, react-hooks
Last push: 2026-08-24T00:04:19+00:00

## Health v2 (maintenance only)
Score: 98/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 99, release rhythm 95, longevity 100
- inputs: {"age_days": 1969, "days_push": 10, "days_rel": 38, "gap_med": 3, "n_releases_24m": 10}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 2213, forks 105 (observed 2026-08-28T04:06:26.986705+00:00)

## What it is
@react-hookz/web is a TypeScript library of general-purpose React hooks built with SSR compatibility in mind. It serves as a spiritual successor to react-use, offering lifecycle, callback, and utility hooks for browser and server-side rendering apps.

## Use cases
- debounce or throttle callbacks in React components
- run effects conditionally or with custom dependency comparison
- replace react-use with a maintained hooks library
- use React hooks in SSR applications safely
- handle mount, update, and unmount lifecycle effects
- synchronize state with browser APIs like media queries or local storage

## When to choose
- you need a well-typed, tree-shakeable collection of React hooks
- your app uses SSR and hooks must be server-safe
- you want a maintained alternative to react-use

## When to avoid
- you are not using React 16.8 or newer
- you need IE11 support
- you only need one niche hook better served by a dedicated package

## Facets
- artifact type: library
- maturity: active
- function: state-management, developer-tools
- domain: web-development, frontend
- platform: browser, cross-platform
- tags: react-hooks, ssr-compatible, typescript, react-use-successor, nodejs

## Member repositories
- react-hookz/web (main) score 98

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:06:26.986705+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T02:46:01.603918+00:00, confidence not recorded.
  - readme: https://github.com/react-hookz/web (fetched 2026-08-28T04:06:26.986705+00:00, sha 8d4dffd7fbc6)
  - homepage: https://react-hookz.github.io/web/ (fetched 2026-08-29T10:26:30.961609+00:00, sha a004c8443686)
- Data as of 2026-08-30T08:39:29.467469+00:00.
