Minko Gechev 5/21/2016

Implementing the Missing "resolve" Feature of the Angular 2 Router

Read Original

This 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.

Implementing the Missing "resolve" Feature of the Angular 2 Router

Comments

No comments yet

Be the first to share your thoughts!

Browser Extension

Get instant access to AllDevBlogs from your browser