{"id":13422438,"url":"https://github.com/facebook/relay","last_synced_at":"2026-01-03T06:28:10.548Z","repository":{"id":36204359,"uuid":"40508605","full_name":"facebook/relay","owner":"facebook","description":"Relay is a JavaScript framework for building data-driven React applications.","archived":false,"fork":false,"pushed_at":"2025-05-02T22:44:46.000Z","size":6769753,"stargazers_count":18588,"open_issues_count":731,"forks_count":1849,"subscribers_count":327,"default_branch":"main","last_synced_at":"2025-05-05T09:58:13.664Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://relay.dev","language":"Rust","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/facebook.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":".github/CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":".github/CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2015-08-10T22:09:16.000Z","updated_at":"2025-05-04T19:40:24.000Z","dependencies_parsed_at":"2023-12-20T12:02:41.334Z","dependency_job_id":"ef519d49-6d24-48cd-b2d0-25a3663fd652","html_url":"https://github.com/facebook/relay","commit_stats":{"total_commits":10056,"total_committers":952,"mean_commits":"10.563025210084033","dds":0.8611774065234685,"last_synced_commit":"8a501be75c4da9b3feb3c4edf0e2f0e82d71c865"},"previous_names":[],"tags_count":90,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/facebook%2Frelay","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/facebook%2Frelay/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/facebook%2Frelay/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/facebook%2Frelay/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/facebook","download_url":"https://codeload.github.com/facebook/relay/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":252486917,"owners_count":21755835,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-07-30T23:00:44.924Z","updated_at":"2026-01-03T06:28:10.501Z","avatar_url":"https://github.com/facebook.png","language":"Rust","readme":"# [Relay](https://relay.dev) \u0026middot; [![GitHub license](https://img.shields.io/badge/license-MIT-blue.svg)](https://github.com/facebook/relay/blob/main/LICENSE) [![npm version](https://img.shields.io/npm/v/react-relay.svg??style=flat)](https://www.npmjs.com/package/react-relay)\n\nRelay is a JavaScript framework for building data-driven React applications.\n\n* **Declarative:** Never again communicate with your data store using an imperative API. Simply declare your data requirements using GraphQL and let Relay figure out how and when to fetch your data.\n* **Colocation:** Queries live next to the views that rely on them, so you can easily reason about your app. Relay aggregates queries into efficient network requests to fetch only what you need.\n* **Mutations:** Relay lets you mutate data on the client and server using GraphQL mutations, and offers automatic data consistency, optimistic updates, and error handling.\n\n[See how to use Relay in your own project](https://relay.dev/docs/en/introduction-to-relay).\n\n## Example\n\nThe [relay-examples](https://github.com/relayjs/relay-examples) repository contains an implementation of [TodoMVC](http://todomvc.com/). To try it out:\n\n```\ngit clone https://github.com/relayjs/relay-examples.git\ncd relay-examples/todo\nyarn\nyarn build\nyarn start\n```\n\nThen, just point your browser at `http://localhost:3000`.\n\n## Contribute\n\nWe actively welcome pull requests, learn how to [contribute](./.github/CONTRIBUTING.md).\n\n## Users\n\nWe have a [community-maintained list](https://relay.dev/users/) of people and projects using Relay in production.\n\n## License\n\nRelay is [MIT licensed](./LICENSE).\n\n## Thanks\n\nWe'd like to thank [the contributors](https://github.com/facebook/relay/graphs/contributors) that helped make Relay in open source possible.\n\nThe open source project [`relay-hooks`](https://github.com/relay-tools/relay-hooks) allowed the community to experiment with Relay and React Hooks, and was a source of valuable feedback for us. The idea for the `useSubscription` hook originated in [an issue](https://github.com/relay-tools/relay-hooks/issues/5#issuecomment-603930570) on that repo. Thank you [@morrys](https://github.com/morrys) for driving this project and for playing such an important role in our open source community.\n\nThank you for helping make this possible!\n","funding_links":[],"categories":["Data Fetching","Code Design","Uncategorized","JavaScript","Rust","Libraries","前端相关","GraphQL Tool, Libraries, and Frameworks","Implementations","前端开发框架及项目","Relay [🔝](#readme)","Clients","others","React","Compilers"],"sub_categories":["Communication with server","Uncategorized","JavaScript Libraries","JavaScript/TypeScript","其他_文本生成、文本对话","Components"],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffacebook%2Frelay","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffacebook%2Frelay","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffacebook%2Frelay/lists"}