Skip to content

[✨] Revalidation data in useloader after useAction runs #48

@Adbib

Description

@Adbib

Is your feature request related to a problem?

I have the Loader get me a list of data, when I use an Action to delete an item from the list the UI still has old data from the Loader

Describe the solution you'd like

a way to revalidate data in Loader after submitting an Action

Describe alternatives you've considered

In Remix for example, after you use an Action the Loader gets automatically revalidated, also you can control if you should revalidate or not using the shouldRevalidate function .

Additional context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions