Skip to content

How to manually re-fetch listShape? #398

Description

@cheshirrrcat

Right now I'm using an additional parameter (refreshTrigger) as a trigger. And when I need to update the data, then I update this trigger.

useResource(
    Commission.listShape(), {
        _some_params_,     
        refreshTrigger: refreshTrigger
    }
);

I don't know how true it looks from the point of view of your library architecture.
So is there any other way to manually re-fetch it?

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions