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
The text was updated successfully, but these errors were encountered:
dminkovsky
changed the title
"Invariant Violation: RelayModernGraphQLTag: Expected a request, , got {}" when using async getQuery
Code splitting: "Invariant Violation: RelayModernGraphQLTag: Expected a request, , got {}" when using async getQuery
Jun 30, 2019
We don't currently support async getQuery calls. In general this is not necessarily what you'd want anyway. It seems that in most code splitting use cases, it makes more sense to have the query in the main bundle, and fetch both the data and the new code in parallel, as opposed to waiting for the code fetching to complete before requesting the data.
In
Thread.js
Fails:
Does
getQuery()
have to be sync?Thank you
PS. Obviously not a blocking issue.
The text was updated successfully, but these errors were encountered: