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

choose approach to handle error / loading state in angular #135

Open
nongrata081 opened this issue Aug 8, 2019 · 0 comments
Open

choose approach to handle error / loading state in angular #135

nongrata081 opened this issue Aug 8, 2019 · 0 comments

Comments

@nongrata081
Copy link
Owner

nongrata081 commented Aug 8, 2019

  • What do you show in UI if there was an error while fetching data?

  • What do you show in UI while data is being fetched? (loader with debounce 100ms)

  • What do you show in UI if http request resolved successfully but the data (e.g. array of objects) is present but empty? Do you show smth like "No data available" ?

  • How do you handle a case when user navigates through backend-paginated data set from one page to another - how do you prevent flashing of paginator (which is shown if data is present) and "No data available" (should be done in the same way as loader - should only be rendered with delay debounce: 100)? Study debounce delay implemented with rxjs timer and debounce as in ng-http-loader

  • Error / Loading state angular


Study concept (s) of ghost elements / skeleton loading / shimmer components

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

No branches or pull requests

1 participant