Skip to content

Collections sometimes never load (even though data is available) #437

Description

@obeattie

While putting together my reproduction for #434, I noticed that if I initialise a collection with data that's immediately available, live queries based on it may never become ready.

Here's a small reproduction that shows it. The collection whose query function includes await new Promise((r) => setTimeout(r, 500)) does resolve, but the one that returns data immediately remains loading forever.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions