From b59d42744ecd9c16f3818bc6fe8afbcaec97f7e9 Mon Sep 17 00:00:00 2001 From: Orta Date: Mon, 13 May 2019 12:40:16 -0400 Subject: [PATCH] Update Relay docs (#7041) --- docusaurus/docs/adding-relay.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/docusaurus/docs/adding-relay.md b/docusaurus/docs/adding-relay.md index 8fd7eeabd56..b44d6b31b54 100644 --- a/docusaurus/docs/adding-relay.md +++ b/docusaurus/docs/adding-relay.md @@ -3,18 +3,18 @@ id: adding-relay title: Adding Relay --- -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. +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. To add it, run: ```sh -npm install --save babel-plugin-relay@dev +npm install --save babel-plugin-relay ``` Alternatively you may use `yarn`: ```sh -yarn upgrade babel-plugin-relay@dev +yarn upgrade babel-plugin-relay ``` Then, wherever you use the `graphql` template tag, import the macro: