Skip to content

Disable navigation.instant on certain pages #4296

Answered by squidfunk
jurgenhaas asked this question in Q&A
Discussion options

You must be logged in to vote

Not possible and not planned. I'm not even sure how this should work. Nonetheless, you can detect location and document changes with the location$ and document$ observable which is exported to window, and use that to mount and unmount your components on specific pages. Note that script tags that are part of the page are executed.

Replies: 2 comments 3 replies

Comment options

You must be logged in to vote
0 replies
Answer selected by jurgenhaas
Comment options

You must be logged in to vote
3 replies
@squidfunk
Comment options

@jurgenhaas
Comment options

@squidfunk
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants