# Relay

> Meta's JavaScript framework for building data-driven React apps with GraphQL

Source: https://talira.ai/catalog/relay-m20bcexa
Every listing: https://talira.ai/catalog.md

- Kind: Open source
- Types: Framework, Library
- Categories: [developer tools / api / graphql clients](https://talira.ai/categories/developer-tools/api/graphql-clients), [languages / javascript](https://talira.ai/categories/languages/javascript)
- Licence: MIT[^1]
- Pricing: Free and open source[^1]
- Free tier: yes[^1]
- Backed by: [Meta](https://talira.ai/orgs/meta.md)
- Funding: public company (NASDAQ:META)[^2]

Relay is Meta's JavaScript framework for data-driven [React](https://talira.ai/catalog/react-a48drvqv.md) applications: components declare their data needs in GraphQL, colocated with the views that use them, and Relay aggregates them into efficient network requests that fetch only what's needed. GraphQL mutations get automatic data consistency, optimistic updates and error handling.

## Links

- Website: https://relay.dev/
- GitHub: https://github.com/meta/relay
- Docs: https://relay.dev/docs/en/introduction-to-relay

## Problems it solves

- fetch GraphQL data in a large React app with queries next to components
- GraphQL client with optimistic updates for React
- keep a React app's GraphQL data consistent after mutations

## Features

- declarative GraphQL data requirements
- queries colocated with components
- aggregated, minimal network requests
- mutations with optimistic updates and consistency

## Trust

Overall: 0.77 out of 1.
Signals: maintenance 1.00, adoption 0.86, momentum 0.65, community 1.00, backing 0.55, extensibility 0.00.

- last commit 2 days ago
- 460 commits in the last 90 days
- latest release v21.0.1 6 months ago
- 19.0k GitHub stars
- 1085 contributors
- backed by Meta
- funding: public company (NASDAQ:META)

## Related

- Works with [React](https://talira.ai/catalog/react-a48drvqv.md)

## Alternatives

- [Apollo Client](https://talira.ai/catalog/apollo-client-bqkkt83s.md): GraphQL client for TypeScript and JavaScript with caching built in, for React, Vue, Angular and more

## Sources

[^1]: https://github.com/meta/relay/blob/main/LICENSE (checked 30 Nov 2026)
[^2]: https://data.sec.gov/submissions/CIK0001326801.json (checked 20 Nov 2026)
