mirror of
https://github.com/zhigang1992/apollo.git
synced 2026-04-27 19:13:56 +08:00
Merge pull request #351 from billfienberg/patch-1
Add import for React and ReactDOM
This commit is contained in:
@@ -131,6 +131,8 @@ 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';
|
||||
|
||||
ReactDOM.render(
|
||||
|
||||
Reference in New Issue
Block a user