# GoogleChromeLabs/react-adaptive-hooks

Deliver experiences best suited to a user's device and network constraints

Repository: https://github.com/GoogleChromeLabs/react-adaptive-hooks
Canonical: https://ross.abutalabs.com/products/react-adaptive-hooks
Language: JavaScript
License: Apache-2.0
License Family: permissive
Topics: react-hooks, performance, loading, react, adaptive-loading, network, memory, cpu
Last push: 2026-06-16T12:12:04+00:00

## Health v2 (maintenance only)
Score: 71/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 87, release rhythm 35, longevity 100
- inputs: {"age_days": 2491, "days_push": 78, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: no_releases
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 5157, forks 112 (observed 2026-08-28T04:09:11.456534+00:00)

## What it is
A suite of React hooks and utilities for adaptive loading based on a user's network conditions, device memory, CPU cores, and media capabilities. It helps developers tailor experiences to low-end devices while progressively enhancing for high-end ones.

## Use cases
- serve lower-resolution images on slow connections
- disable heavy features on low-memory devices
- adapt code-splitting based on CPU core count
- respect user Data Saver preferences
- toggle video quality via Media Capabilities API

## When to choose
- building a React app that should adapt to device and network constraints
- targeting low-end devices with progressive enhancement

## When to avoid
- non-React projects
- apps that don't need device/network-adaptive behavior

## Facets
- artifact type: library
- maturity: experimental
- function: state-management, developer-tools
- domain: web-development, frontend, performance
- platform: browser
- tags: react-hooks, adaptive-loading, network-information-api, device-memory, progressive-enhancement, nodejs

## Member repositories
- GoogleChromeLabs/react-adaptive-hooks (main) score 71

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:09:11.456534+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-29T18:01:54.636066+00:00, confidence not recorded.
  - readme: https://github.com/GoogleChromeLabs/react-adaptive-hooks (fetched 2026-08-28T04:09:11.456534+00:00, sha 0553e7ac250b)
  - registry_npm: https://registry.npmjs.org/react-adaptive-hooks (fetched 2026-08-29T08:56:14.408762+00:00, sha 4c0cde321bcd)
- Data as of 2026-08-30T08:39:29.467469+00:00.
