0

I have noticed that a simple link like <a href="/s">Go to Home</a> will not cause the browser to actually request the /s document. Instead, Lightning will do some kind of magic swap out of the current page with the home page.

This xhr loading strategy is causing havoc with Google Analytics and many of custom components do not render correctly because they are cannot see the page change.

I would like to be able to turn off the "magic swap" and just have the browser navigate as normal when an anchor with a href is clicked. Is this possible?

I am using the "Build Your Own" template.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.