Skip to content
Prev Previous commit
Next Next commit
update links
  • Loading branch information
bmullan91 committed Mar 13, 2019
commit 1e13433dedb0825a673604be376dde63a023bd25
9 changes: 5 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,8 @@ function MyComponent() {
- [Authentication](#Authentication)
- [Fragments](#Fragments)
- [Migrating from Apollo](#Migrating-from-Apollo)
- [ApolloClient ➡️ GraphQLClient](#ApolloClient-➡️-GraphQLClient)
- [ApolloClient ➡️ GraphQLClient](#ApolloClient--GraphQLClient)
- [ApolloProvider ➡️ ClientContext.Provider](#apolloprovider-️-clientcontextprovider)

## API

Expand Down Expand Up @@ -464,7 +465,7 @@ Coming soon!

## Migrating from Apollo

### ApolloClient -> GraphQLClient
### ApolloClient ➡️ GraphQLClient

```diff
- import { ApolloClient } from 'apollo-client'
Expand Down Expand Up @@ -508,7 +509,7 @@ function App({ client }) {
}
```

### Query Component -> useQuery()
### Query Component ➡️ useQuery()

```diff
- import { Query } from 'react-apollo'
Expand Down Expand Up @@ -579,7 +580,7 @@ _Not supported_
- `props.stopPolling`
- `props.subscribeToMore`

### Mutation Component -> useMutation
### Mutation Component ➡️ useMutation

```diff
- import { Mutation } from 'react-apollo'
Expand Down