Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
Muhammed Thanish authored Sep 7, 2016
1 parent 6ec9f0e commit e3ec1e6
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,8 @@ storiesOf('GraphQL Demo', module)
}`));
```

> Tip: try creating the helper in another file and import the configured graphiql helper from it
## Advanced Setup

The `setupGraphiQL` function also accepts a fetcher parameter which can be used to change how graphiql gets data. If the fetcher parameter is not given, it'll create a fetcher which uses the `fetch` api to make requests. The above example can also be written using a custom fetcher.
Expand Down

0 comments on commit e3ec1e6

Please sign in to comment.