You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Apr 13, 2023. It is now read-only.
Intended outcome:
Query should call children with the previous result while loading
Actual outcome:
Query calls children with { data: undefined }, then again with { data: <populatedData> } once the response finishes.
How to reproduce the issue:
Log response in children while modifying variables
<Queryquery={query}variables={variables}>{({ data })=>{// undefined, then populated even if there is content available in cacheconsole.log(data)}}</Query>
Version
apollo-client@2.2.0
react-apollo@2.1.0-beta.2
The text was updated successfully, but these errors were encountered:
Intended outcome:
Query should call
children
with the previous result while loadingActual outcome:
Query calls children with
{ data: undefined }
, then again with{ data: <populatedData> }
once the response finishes.How to reproduce the issue:
Log response in
children
while modifyingvariables
Version
The text was updated successfully, but these errors were encountered: