We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Instead of this:
import { ApolloProvider } from 'react-apollo'
if you do this:
import { ApolloProvider } from '@apollo/react-hooks'
then when you use useQuery or useMutation throughout your app,
useQuery
useMutation
you won't need to re-define client!
client
THIS CLEANS UP THE CODE SO MUCH
The text was updated successfully, but these errors were encountered:
chadoh
No branches or pull requests
Instead of this:
if you do this:
then when you use
useQuery
oruseMutation
throughout your app,you won't need to re-define
client
!THIS CLEANS UP THE CODE SO MUCH
The text was updated successfully, but these errors were encountered: