FindSoftware

Relay

JavaScript framework for building data-driven React applications on GraphQL, with a compiler that precomputes each component's queries.

Relay is a JavaScript framework for building data-driven React applications on GraphQL. Each component declares the data it needs, and the Relay compiler aggregates those declarations into GraphQL requests at build time. At runtime, the Relay store keeps every component that reads the same data up to date.

The Relay documentation describes the framework, and its quick start walks through adding Relay to a React project.

Worth knowing

Relay requires a Babel plugin and the Relay Compiler, so a build step is part of the setup. It also makes assumptions about the GraphQL server: that it provides a way to refetch an object and a description of how to page through connections. The GraphQL server specification spells them out.

Identity

Status
Active
Maintainer
Meta Platforms, Inc.6
Maintained by
Company
First release
20157

Rendering and deploy

Install with
npm5

Releases

Current major version
218
Last release
2026-05-278

Adoption

GitHub stars
18,9812
npm downloads a week
6,115,61310
Contributors
2919
Dependent repositories
76,21311
Dependent packages
21011

Why these figures do not compare

Sources

  1. 2026-11-16: links
    relay.dev/
  2. 2026-11-16: links, License, GitHub stars
    api.github.com/repos/meta/relay
  3. 2026-11-16: links
    relay.dev/docs/
  4. 2026-11-16: Categories, Written in, Built on
    github.com/meta/relay/blob/main/README.md
  5. 2026-11-16: Install with
    relay.dev/docs/getting-started/quick-start/
  6. 2026-11-16: Maintainer
    github.com/meta/relay/blob/main/LICENSE
  7. 2026-11-16: First release
    registry.npmjs.org/react-relay
  8. 2026-11-16: Current major version, Last release
    github.com/meta/relay/releases/tag/v21.0.1
  9. 2026-11-16: Contributors
    api.github.com/repos/meta/relay/contributors?per_page=1
  10. 2026-11-16: npm downloads a week
    api.npmjs.org/downloads/range/2026-11-01:2026-11-07/relay-runtime
  11. 2026-11-16: Dependent packages, Dependent repositories
    packages.ecosyste.ms/api/v1/registries/npmjs.org/packages/relay-runtime

Last reviewed · Listed since Edit on GitHubThis page as markdownas JSON