💥 Angular Final Router Resolvers – Avoid a Possible RxJs Pitfall When Writing a Router Resolver
Check the Build a Web App with Angular and Firebase Course – https://angular-university.io/course/build-an-application-with-angular2?grpp=f&utm=ytfb&couponCode=FIREBASE_YOUTUBE
In this lesson we are going to learn how to use the router Resolve functionality can be used to load data into a screen before the component even gets instantiated, and how the data can be passed to the new component.
We are going to learn how to avoid a RxJs-related Pitfall that we tend to find when writing router resolvers – we need to make sure that the observable returned completes, otherwise the routing transition won’t happen.
You can also see this tutorial at the Angular University – https://angular-university.io/lesson/angular2-firebase-edit-lesson-router-resolve
For more videos tutorials on Angular, check the Angular University website – https://angular-university.io
Twitter – https://twitter.com/AngularUniv
Google+ – https://plus.google.com/u/1/113731658724752465218
Facebook – https://www.facebook.com/angular.university
Check out the PDF E-Books available at the Angular University – https://angular-university.io/my-ebooks