Created
September 30, 2021 15:54
-
-
Save hackintoshrao/b10f71b1c445a795bad562b14534e1ea to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import { gql, useQuery } from '@apollo/client'; | |
const GET_BOOKS = gql` | |
query GetBooks { | |
books { | |
id | |
title | |
} | |
} | |
`; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment