Skip to content

useQuery result is never in error state #9

@thomasballinger

Description

@thomasballinger

see https://discord.com/channels/1019350475847499849/1278420438149496952/1287820179883167806

The code as written doesn't use the onError callback to const unsubscribe = client.onUpdate(), which isn't required; but the code as written also isn't catching the error.

The change I'm trying out is using onUpdate and also catching the error from client.client.localQueryResult().

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