While working on the Angular live project, we use a real-world API and there might be some delay before the data to display is returned from the server and in that case, we don’t want to display a blank component to the users when waiting for the data. Router Resolve API helps us a lot to resolve this issue.
source https://www.c-sharpcorner.com/article/load-all-data-before-loading-the-component-view-in-angular-6/
No comments:
Post a Comment