Open Dregorio1 opened 1 year ago
Hello,
I have exactly the same issue. Reponse from the server is provided with data but the render
property of QueryRenderer
is not re-fired correctly.
<QueryRenderer
fetchPolicy="store-or-network'"
query={graphql`
...
`}
render={({ error, props }: { error: ?Error, props: ?TopBarNavRespondBadgeQuery$data }) => {
console.log('RENDERING', error, props)
return error || !props ? <>Loading</> : <>Success</>
}}
/>
My console output displays : RENDERING, null, null
one time indefinitely.
I have code like:
and for
Foo
:When in
DataGrid
I click on the next page in DevTools I see correct request and response, but data in props does not change. What is the reason?