Skip to content

Commit b59d427

Browse files
ortaiansu
authored andcommitted
Update Relay docs (#7041)
1 parent e2f43a0 commit b59d427

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

docusaurus/docs/adding-relay.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,18 +3,18 @@ id: adding-relay
33
title: Adding Relay
44
---
55

6-
Relay is a framework for building data-driven React applications powered by GraphQL. The current release candidate of Relay works with Create React App projects out of the box using Babel Macros. Simply set up your project as laid out in the [Relay documentation](https://facebook.github.io/relay/), then make sure you have a version of the babel plugin providing the macro.
6+
Relay is a framework for building data-driven React applications powered by GraphQL. The current release of Relay works with Create React App projects out of the box using Babel Macros. Simply set up your project as laid out in the [Relay documentation](https://facebook.github.io/relay/), then make sure you have a version of the babel plugin providing the macro.
77

88
To add it, run:
99

1010
```sh
11-
npm install --save babel-plugin-relay@dev
11+
npm install --save babel-plugin-relay
1212
```
1313

1414
Alternatively you may use `yarn`:
1515

1616
```sh
17-
yarn upgrade babel-plugin-relay@dev
17+
yarn upgrade babel-plugin-relay
1818
```
1919

2020
Then, wherever you use the `graphql` template tag, import the macro:

0 commit comments

Comments
 (0)