Skip to content

Conversation

@ValeraS
Copy link
Collaborator

@ValeraS ValeraS commented Apr 23, 2024

No description provided.

@ValeraS ValeraS requested a review from Raubzeug April 23, 2024 16:45
);

useAutofetcher(fetchNodes, [fetchNodes], autorefresh);
const loading = isFetching && currentData === undefined;
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Here and further: isn't it possible to use isLoading property from query?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

it repeats the current behaviour. isLoading is false when the query arguments change.

@ValeraS ValeraS merged commit 19487b1 into main Apr 24, 2024
@ValeraS ValeraS deleted the feat/tenant-rtk-query branch April 24, 2024 14:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants