Is it possible to change the URL without re-loading the page in Meteor? -
I remember in angular, I could have changed the URL only by changing the $ location without reloading the page
Is it possible to do something similar to the meteor?
I have tried to use the router, but it clears all areas and reloads the page.
 You use a pure JavaScript (in modern browsers) to replace the URL without reloading the page. can do. As an example, evaluate  history.pushState ({}, "a new page", "myNewPage.html")  in the console in your browser, and see the change in the address bar. 
I think that when you change the page, the iron router uses it under the hood.
Comments
Post a Comment