facebook/relay
Relay is a JavaScript framework for building data-driven React applications. observed · 2026-10-14
Health v2 · maintenance only
88/100
- Activity 99
- Release rhythm 66
- Longevity 100
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-10-21. Adoption (stars, forks) is never an input.
- gap_med: 43.0
- age_days: 4089
- days_rel: 146
- days_push: 7
- n_releases_24m: 7
Adoption not part of the score
18961 stars · 1891 forks observed · 2026-10-14
What it is AI-extracted, prompt v1, taxonomy v1, 2026-10-19, confidence 0.98
Relay is a JavaScript library that provides a high‑performance GraphQL client for React applications. It lets developers declare data requirements in components and automatically generates optimized queries and a normalized store.
Use cases
- fetch GraphQL data in a React app
- declare component data dependencies with GraphQL fragments
- pre‑fetch queries for faster navigation
- handle pagination and optimistic UI updates
- ensure type‑safe GraphQL queries with generated TypeScript types
When to choose
- You need a tightly integrated GraphQL client for a large React codebase
- Performance and automatic query optimization are critical
- You want compile‑time type safety for GraphQL operations
When to avoid
- Your project uses a different UI framework or no framework at all
- You prefer a lightweight fetch‑only client without a normalized store
- You need runtime‑only GraphQL handling without a build step
Facets
library · maturity active
graphql api-framework http-client web-development frontend browser cross-platform react data-fetching type-safe incremental-compiler declarative-queries nodejs
10 sources
- readme: https://github.com/facebook/relay · fetched 2026-10-14 · abf085e4975e
- homepage: https://relay.dev · fetched 2026-10-05 · 3c58e9abba11
- site_page: https://relay.dev/docs/next · fetched 2026-10-05 · 27e5a51a61c2
- site_page: https://relay.dev/docs/v20.1.0 · fetched 2026-10-05 · f93d73a78121
- site_page: https://relay.dev/docs/v20.0.0 · fetched 2026-10-05 · 50bbc125666e
- site_page: https://relay.dev/docs/v18.0.0 · fetched 2026-10-05 · 4c9f32f03e89
- site_page: https://relay.dev/docs/v17.0.0 · fetched 2026-10-05 · a1cd73935ec7
- site_page: https://relay.dev/docs/v16.0.0 · fetched 2026-10-05 · b09fa0ac4e30
- site_page: https://relay.dev/docs · fetched 2026-10-05 · 850b2a33b6ed
- site_page: https://relay.dev/docs/v19.0.0 · fetched 2026-10-05 · 4af7305cc307
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| facebook/relay | main | 88 |
For agents
Data as of 2026-10-19T08:05:51.212177+00:00 · Report a problem