Skip to content

queryFn is called twice in Suspense mode #324

@simoncarpinter

Description

@simoncarpinter

Per the title, when using useQuery with { suspense: true }, the supplied query function will be called twice.

See simoncarpinter@cc09457 for details, opening a PR now that adds the test. I haven't yet spotted the actual bug.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions