From d5981645f8910ddd7c16b9e4a3c0f13e6739f6eb Mon Sep 17 00:00:00 2001 From: Bill Fienberg Date: Sun, 3 Mar 2019 02:23:48 -0600 Subject: [PATCH] Add import for React Without React, the code throws the following error: `'React' must be in scope when using JSX react/react-in-jsx-scope` --- docs/source/tutorial/client.md | 1 + 1 file changed, 1 insertion(+) diff --git a/docs/source/tutorial/client.md b/docs/source/tutorial/client.md index 314b59a..d047302 100644 --- a/docs/source/tutorial/client.md +++ b/docs/source/tutorial/client.md @@ -131,6 +131,7 @@ Open `src/index.js` and add the following lines of code: _src/index.js_ ```js lines=1,4,6 +import React from "react"; import ReactDOM from 'react-dom'; import { ApolloProvider } from 'react-apollo';