Skip to content

Commit

Permalink
Compose example uses raw strings instead of AST (#4189)
Browse files Browse the repository at this point in the history
  • Loading branch information
CarloPalinckx authored and hwillson committed Jan 2, 2019
1 parent 3fbf84d commit 86c6334
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/source/api/react-apollo.md
Original file line number Diff line number Diff line change
Expand Up @@ -1333,8 +1333,8 @@ An important note is that `compose()` executes the last enhancer _first_ and wor
```js
export default compose(
withApollo,
graphql(`query { ... }`),
graphql(`mutation { ... }`),
graphql(gql`query { ... }`),
graphql(gql`mutation { ... }`),
connect(...),
)(MyComponent);
```
Expand Down

0 comments on commit 86c6334

Please sign in to comment.