Skip to content

Commit

Permalink
Merge branch 'master' into 3.0-mark-mutation
Browse files Browse the repository at this point in the history
  • Loading branch information
morrys committed Jun 3, 2020
2 parents 1657ccd + 2d61e5c commit cc95d18
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/source/data/local-state.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -621,7 +621,7 @@ const client = new ApolloClient({
});
```

[`CameraRoll.getPhotos()`](https://facebook.github.io/react-native/docs/cameraroll.html#getphotos) returns a `Promise` resolving to an object with a `edges` property, which is an array of camera node objects, and a `page_info` property, which is an object with pagination information. This is a great use case for GraphQL, since we can filter down the return value to only the data that our components consume.
[`CameraRoll.getPhotos()`](https://facebook.github.io/react-native/docs/cameraroll.html#getphotos) returns a `Promise` resolving to an object with an `edges` property, which is an array of camera node objects, and a `page_info` property, which is an object with pagination information. This is a great use case for GraphQL, since we can filter down the return value to only the data that our components consume.

```js
import { gql } from "@apollo/client";
Expand Down

0 comments on commit cc95d18

Please sign in to comment.