# ava/use-http

🐶  React hook for making isomorphic http requests

Repository: https://github.com/ava/use-http
Canonical: https://ross.abutalabs.com/products/use-http
Homepage: https://use-http.com
Language: TypeScript
License: MIT
License Family: permissive
Topics: react, fetch, suspense, graphql, ssr, react-hooks, react-hook, reacthook, react-suspense, rest-client, isomorphic, http, usefetch, request, fetch-data, react-cache, react-usefetch, query, mutation, react-fetch-hook
Last push: 2024-02-07T16:10:12+00:00

## Health v2 (maintenance only)
Score: 23/100 (v2, computed 2026-09-02T17:46:02.011165+00:00)
- activity 0, release rhythm 8, longevity 100
- inputs: {"age_days": 2701, "days_push": 938, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 2300, forks 116 (observed 2026-08-28T04:06:35.407652+00:00)

## What it is
use-http is a React hook library for making isomorphic HTTP requests that work in both browser and server-side rendering contexts. It wraps fetch with a hook-based API supporting features like Suspense, queries, and mutations.

## Use cases
- fetch data in a react component with a hook
- make http requests that work with server side rendering
- use fetch with react suspense
- handle rest api queries and mutations in react
- replace useEffect + fetch boilerplate with a data fetching hook

## When to choose
- you want a lightweight fetch wrapper hook for React with SSR support
- you prefer hook-based data fetching over heavier libraries like react-query
- you need isomorphic requests in a Next.js or SSR app

## When to avoid
- you need caching, retries, and full data-fetching state management - consider TanStack Query
- you are not using React
- you need GraphQL-specific tooling with subscriptions

## Facets
- artifact type: library
- maturity: maintenance
- function: http-client, web-framework, ssr
- domain: web-development, frontend, apis
- platform: cross-platform
- tags: react-hooks, fetch, suspense, isomorphic, rest-client, typescript, nodejs, web-server

## Member repositories
- ava/use-http (main) score 23

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:06:35.407652+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:40:13.241615+00:00, confidence not recorded.
  - readme: https://github.com/ava/use-http (fetched 2026-08-28T04:06:35.407652+00:00, sha f8d9617e7f34)
  - homepage: https://use-http.com (fetched 2026-08-29T10:20:48.196105+00:00, sha ddba9c4ed614)
- Data as of 2026-08-30T08:39:29.467469+00:00.
