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?
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.
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?