[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"project-5412":3},{"id":4,"name":5,"fullName":6,"owner":7,"repo":5,"description":8,"homepage":9,"htmlUrl":10,"language":11,"languages":10,"totalLinesOfCode":10,"stars":12,"forks":13,"watchers":14,"openIssues":15,"contributorsCount":16,"subscribersCount":16,"size":16,"stars1d":16,"stars7d":17,"stars30d":18,"stars90d":16,"forks30d":16,"starsTrendScore":16,"compositeScore":19,"rankGlobal":10,"rankLanguage":10,"license":20,"archived":21,"fork":21,"defaultBranch":22,"hasWiki":23,"hasPages":23,"topics":24,"createdAt":10,"pushedAt":10,"updatedAt":25,"readmeContent":26,"aiSummary":27,"trendingCount":16,"starSnapshotCount":16,"syncStatus":28,"lastSyncTime":29,"discoverSource":30},5412,"relay","facebook\u002Frelay","facebook","Relay is a JavaScript framework for building data-driven React applications.","https:\u002F\u002Frelay.dev",null,"Rust",18941,1892,319,629,0,1,9,71.23,"MIT License",false,"main",true,[],"2026-06-12 04:00:25","# [Relay](https:\u002F\u002Frelay.dev) &middot; [![GitHub license](https:\u002F\u002Fimg.shields.io\u002Fbadge\u002Flicense-MIT-blue.svg)](https:\u002F\u002Fgithub.com\u002Ffacebook\u002Frelay\u002Fblob\u002Fmain\u002FLICENSE) [![npm version](https:\u002F\u002Fimg.shields.io\u002Fnpm\u002Fv\u002Freact-relay.svg??style=flat)](https:\u002F\u002Fwww.npmjs.com\u002Fpackage\u002Freact-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:\u002F\u002Frelay.dev\u002Fdocs\u002Fen\u002Fintroduction-to-relay).\n\n## Example\n\nThe [relay-examples](https:\u002F\u002Fgithub.com\u002Frelayjs\u002Frelay-examples) repository contains an implementation of [TodoMVC](http:\u002F\u002Ftodomvc.com\u002F). To try it out:\n\n```\ngit clone https:\u002F\u002Fgithub.com\u002Frelayjs\u002Frelay-examples.git\ncd relay-examples\u002Ftodo\nyarn\nyarn build\nyarn start\n```\n\nThen, just point your browser at `http:\u002F\u002Flocalhost:3000`.\n\n## Contribute\n\nWe actively welcome pull requests, learn how to [contribute](.\u002F.github\u002FCONTRIBUTING.md).\n\n## Users\n\nWe have a [community-maintained list](https:\u002F\u002Frelay.dev\u002Fusers\u002F) of people and projects using Relay in production.\n\n## License\n\nRelay is [MIT licensed](.\u002FLICENSE).\n\n## Thanks\n\nWe'd like to thank [the contributors](https:\u002F\u002Fgithub.com\u002Ffacebook\u002Frelay\u002Fgraphs\u002Fcontributors) that helped make Relay in open source possible.\n\nThe open source project [`relay-hooks`](https:\u002F\u002Fgithub.com\u002Frelay-tools\u002Frelay-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:\u002F\u002Fgithub.com\u002Frelay-tools\u002Frelay-hooks\u002Fissues\u002F5#issuecomment-603930570) on that repo. Thank you [@morrys](https:\u002F\u002Fgithub.com\u002Fmorrys) 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","Relay 是一个用于构建数据驱动的 React 应用程序的 JavaScript 框架。其核心功能包括声明式的数据请求、查询与视图同位置以提高代码可读性及维护性，以及支持通过 GraphQL 进行数据变更，并提供自动数据一致性、乐观更新和错误处理等功能。Relay 适用于需要高效管理前后端数据交互的复杂单页应用开发场景，特别适合那些希望利用 GraphQL 的强大功能来简化数据获取逻辑并提升用户体验的项目。",2,"2026-06-11 03:03:11","top_language"]