Skip to content

[Feature]: Add an <IsMutating> component similar to <IsFetching> #1974

Description

@fe-dudu

Package Scope

@suspensive/react-query

Description

Hi, thank you for maintaining Suspensive.

I noticed that Suspensive provides an <IsFetching> component for Tanstack Query, and I was wondering if there are any plans to add a similar <IsMutating> component.

TanStack Query already provides useIsMutating, so I think an <IsMutating> component could be useful for handling mutation-loading UI in a declarative way, similar to <IsFetching>.

Are there any plans to support this feature? If so, would it be okay for me to work on the implementation and open a PR?

Thanks!

ref: https://tanstack.com/query/latest/docs/framework/react/reference/useIsMutating

Possible Solution

No response

etc.

No response

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