Skip to content

isLoading doesnt become true when state=pending, even if there was never any data due to an error on a previous fetch in 2.2.5 #4449

Open
@Paul-Yves

Description

@Paul-Yves

Just upgraded from 2.2.3 to 2.2.5

Previously we had a check doing if (isLoading || isError) return null;, it seems with a 401 error where we previously had isError to true, it is now false. Strangely, isFetching is now true (although error is present with a 401 in status).

I don't see a relevant change in the patch note, have I missed something or is it a bug ?

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions