Skip to content

Commit 231c7c5

Browse files
authored
Merge pull request graphql#1251 from graphql/better_relay
Improve the relay description
2 parents 454f46c + b504e27 commit 231c7c5

File tree

1 file changed

+7
-0
lines changed
  • src/content/code/language-support/javascript/client

1 file changed

+7
-0
lines changed

src/content/code/language-support/javascript/client/relay.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,4 +6,11 @@ github: facebook/relay
66
npm: "react-relay"
77
---
88

9+
Relay is a JavaScript framework for building data-driven React applications.
10+
11+
* **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.
12+
* **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.
13+
* **Mutations:** Relay lets you mutate data on the client and server using GraphQL mutations, and offers automatic data consistency, optimistic updates, and error handling.
14+
15+
[See how to use Relay in your own project](https://relay.dev/docs/en/introduction-to-relay).
916

0 commit comments

Comments
 (0)