# react-native-community/hooks

React Native APIs turned into React Hooks for use in functional React components

Repository: https://github.com/react-native-community/hooks
Canonical: https://ross.abutalabs.com/products/react-native-community-hooks
Language: TypeScript
License: ISC
License Family: permissive
Last push: 2026-08-26T18:45:13+00:00

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

## Adoption (not part of the score)
Stars 3626, forks 203 (observed 2026-08-28T04:08:11.941918+00:00)

## What it is
A library that wraps React Native's asynchronous and platform APIs (app state, keyboard, back handler, device orientation, accessibility info, etc.) as React Hooks. It lets functional components access these APIs declaratively without manual lifecycle management.

## Use cases
- use react native apis in functional components
- track app foreground/background state in react native
- get keyboard height and visibility in react native
- handle android back button with a hook
- get image dimensions in react native component
- detect device orientation changes in react native
- check accessibility settings like screen reader in react native

## When to choose
- you build React Native apps with functional components and want idiomatic hooks for platform APIs
- you want to avoid boilerplate AppState/Keyboard/BackHandler event listener code
- you need simple reactive access to device orientation, layout, or accessibility info

## When to avoid
- you use class components exclusively
- you need APIs not covered by the provided hooks
- your project targets React Native below 0.59

## Facets
- artifact type: library
- maturity: stable
- function: state-management, developer-tools
- domain: mobile-development, cross-platform, frontend
- platform: cross-platform
- tags: react-native, react-hooks, functional-components, async-apis, typescript, mobile, ios, android

## Member repositories
- react-native-community/hooks (main) score 79

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:08:11.941918+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:31:55.734507+00:00, confidence not recorded.
  - readme: https://github.com/react-native-community/hooks (fetched 2026-08-28T04:08:11.941918+00:00, sha a7ce05747fd4)
- Data as of 2026-08-30T08:39:29.467469+00:00.
