Mirror: TypeScript LSP plugin that finds GraphQL documents in your code and provides diagnostics, auto-complete and hover-information.

Update README.md

Changed files
+3 -4
+3 -4
README.md
···
const result = (await client.query()) || useFragment();
const [result] = useQuery(); // --> urql
const { data } = useQuery(); // --> Apollo
-
// Missing cases:
-
const { field } = useFragment(); // can't destructure into your data from the start
-
const [{ data }] = useQuery(); // can't follow array destructuring with object destructuring
+
const { field } = useFragment();
+
const [{ data }] = useQuery();
const {
data: { pokemon },
-
} = useQuery(); // can't destructure into your data from the start
+
} = useQuery();
```
Lastly we don't track mutations/subscriptions as some folks will add additional fields to properly support