Relay is a JavaScript framework for building data-driven React applications.
Clone or download
alunyov and facebook-github-bot Support for multiple schema path in getSchemaIntrospection
Reviewed By: kassens

Differential Revision: D13791932

fbshipit-source-id: 96af5e9ec659eeabcf1f23cd35b2e36b131dad17
Latest commit b5e3e6c Jan 24, 2019
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.circleci chore: clone last 5 commits May 16, 2018
.github Update CoC for various projects Aug 2, 2018
docs + Strategies section Jan 14, 2019
flow Update copyright headers to yearless format Sep 11, 2018
meta Add meeting notes from 2017-02-14 team sync Feb 16, 2017
packages Support for multiple schema path in getSchemaIntrospection Jan 24, 2019
scripts remove remaining references to graphql-compiler Jan 3, 2019
website Fix nonexistent v1.7.1 in docs Jan 18, 2019
.eslintignore Lint everything from the root Jul 15, 2016
.eslintrc Improved comment on disabled rules for flow in Relay OSS Jul 10, 2018
.flowconfig @allow-large-files [flow] Bump xplat/js to 0.91 and remove unused sup… Jan 18, 2019
.gitignore Fix devDependencies to explicit version. Apr 11, 2017
.prettierignore Remove a trailing comma in the gulp file which breaks older node builds Feb 12, 2018
.travis.yml Update CI to node 10 (#2473) Jun 17, 2018
.watchmanconfig Add .watchmanconfig Apr 9, 2018
LICENSE Update copyright headers to yearless format Sep 11, 2018
README.md Update readme relay example default package manager (#2598) Jan 12, 2019
USERS.md Add Flexport as a user or Relay (#2563) Jan 5, 2019
crowdin.yaml Use Docusaurus for the website Nov 9, 2017
gulpfile.js Update to gulp 4.0 (#2594) Dec 30, 2018
package.json v2.0.0-rc.2 Jan 19, 2019
yarn.lock @allow-large-files [flow] Bump xplat/js to 0.91 and remove unused sup… Jan 18, 2019

README.md

Relay Build Status npm version

Relay is a JavaScript framework for building data-driven React applications.

  • 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.
  • 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.
  • Mutations: Relay lets you mutate data on the client and server using GraphQL mutations, and offers automatic data consistency, optimistic updates, and error handling.

See how to use Relay in your own project or check out the community-driven tutorial at Learn Relay.

Example

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 build
yarn start

Then, just point your browser at http://localhost:3000.

Contribute

We actively welcome pull requests, learn how to contribute.

Users

We have a community-maintained list of people and projects using Relay in production.

License

Relay is MIT licensed.