Relay is a JavaScript framework for building data-driven React applications.
Relay is a JavaScript framework for building data-driven React applications.
Relay is a JavaScript framework for building data-driven React applications.
See how to use Relay in your own project.
The relay-examples repository contains an implementation of TodoMVC. To try it out:
git clone https://github.com/relayjs/relay-examples.git
cd relay-examples/todo
yarn
yarn grats
yarn relay
yarn devThen, just point your browser at http://localhost:5173.
We actively welcome pull requests, learn how to contribute.
We have a community-maintained list of people and projects using Relay in production.
Relay is MIT licensed.
We'd like to thank the contributors that helped make Relay in open source possible.
The open source project 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 on that repo. Thank you @morrys for driving this project and for playing such an important role in our open source community.
Thank you for helping make this possible!
relay-compiler: $parameters artifact for @preloadable query does not import provided-variable providers
Duplicate compiled @defer labels when the same deferred fragment is inlined twice under @alias
Fragments render with missing data when using partial rendering
useLazyLoadQuery: a sibling's commit releases a suspended component's temporary retain, causing a refetch after the sibling unmounts
Compiler: `base` accepts one project, so a package that depends on two fragment-defining packages cannot be modeled
Feature Request: Config Flag to Enable ID Input Coercion
MockPayloadGenerator loses fields and concrete types across repeated plural-field traversal
`enable_typename_discriminated_unions` feature bug - abstract inline fragment selections incorrectly merged onto concrete union arms
usePaginationFragment().refetch() should pass networkCacheConfig through to the network layer
RelayResponseNormalizer writes `__is<Interface>: false` when `@defer`'d payload omits abstract typename, corrupting DataChecker