Implementing the Missing "resolve" Feature of the Angular 2 Router
Read OriginalThis article addresses the lack of a 'resolve' feature in the deprecated Angular 2 router, which is used to pre-fetch data before a routed component is rendered. It provides a detailed tutorial on designing a custom API and implementing a workaround using the @CanActivate decorator, including code examples and a link to a demo.
Comments
No comments yet
Be the first to share your thoughts!
Browser Extension
Get instant access to AllDevBlogs from your browser