Using React + react-apollo + Graph.cool. Is it pos...
# prisma-whats-new
m
Using React + react-apollo + Graph.cool. Is it possible to store and access variables locally similar to Redux on Apollo since Redux is underneath? I'm new to React + GraphQL.... I'm trying to handle a search string I set in one component and then access it from another. When I use a normal query, it's not refreshing my this.props and using subscribe feels like overkill...thoughts?
So I worked out that whilst I was updating the db using a mutate it wasn't updating the local store. I updated the local store using options.update...
I looked this up and it might be a bug in react-apollo where it should be updating this.prop following a mutation