Say i have a parent component (called Wrapper) that is a QueryRenderer
that just fetches:
query productQuery {
product {
id
name
}
}
and then i have a QueryRenderer
(that renders a component called Inner) that renders the following query:
query productInnerQuery {
product {
id
}
}
what happens is that inside the outer component Wrapper gets subscribed to updates on product, causing it to rerenders with the productInnerQuery
(name is undefined) when the page loads since that component loads on mount. what can i do so that this doesnt happen and that the the outer queryrenderer doesn't get affected by the inner one?