Hi guys, anyone familiar with Apollo Client?
# orm-help
m
Hi guys, anyone familiar with Apollo Client?
d
I've used it a few times, what are you trying to do?
m
I am trying to store a list of items in the cache. And then i want to find a specular item from the list by e.g. ID, how can i do that? :d
d
What framework are you using?
a
I recommend switching to Apollo boost and then doing what it says in the link.
It's pretty easy to set up if you follow the directions for apollo boost.
m
@Dillon Parfitt i am using React Native
@Andrew O. I do use Apollo Boost. Found a way to do what i want, but that is not with gql query. I get all items from gql query into a variable, then just filtering from that variable list. I better like to do it with graphql query instead.
a
That's how I do it.
I define it in local cache then update and query.
But I'm just storing user data.
Using React.