Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Better loading states #170

Open
yoannfleurydev opened this issue Feb 23, 2022 · 1 comment
Open

Better loading states #170

yoannfleurydev opened this issue Feb 23, 2022 · 1 comment
Labels
enhancement New feature or request

Comments

@yoannfleurydev
Copy link
Member

In services like https://github.com/BearStudio/start-ui-web/blob/master/src/app/admin/users/users.service.ts#L35, it could add a great value to check if it is fetching and if previous data are shown, so the isLoadingPage only triggers when new data are fetched.

const isLoadingPage = result.isFetching && result.isPreviousData;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants
@yoannfleurydev and others