Skip to content

ApolloQuery "data" is briefly an falsy object after loading #564

Open
@thejcannon

Description

@thejcannon

Howdy folks!

I'm using the ApolloQuery component, almost line-for-line from the example and noticed after the query finishes, there is a brief period of time where loading is false, but data is some falsy value (which means my v-else "no result" is very briefly displayed).

I've found that isLoading is true during this time, so the workaround is to use that instead of loading, but that doesn't help the fact that the code that supports the example is broken.

(I found isLoading from #263, so perhaps the fix for that issue will mitigate this one as well, however in my case loading is true, but for less time than isLoading which seems to be the source of truth.)

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions