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

Example resolver for render blocking #2

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

NicoZelaya
Copy link
Contributor

Another option would be to use a resolver to block the routing on the main route.

I'm using here the client.ready() method which returns a promise as an example of another way, but I would recommend the fromEvent from rxjs that's used on the other example.

With this, the Angular app will load, but you can prevent rendering.

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

Successfully merging this pull request may close these issues.

1 participant