I am new to angular. I've read about new features in Angular 5 - Using 'onSameUrlNavigation' now it’s possible to reload a page when the router receives a request to navigate to the same UR ? Currently i am using version 4.4.6. 'onSameUrlNavigation' not available in angular version 4.
Is there any other way to do the same thing in angular 4. What are the things that i have to do to accomplish this requirement.
providers: [
RouterModule.forRoot(routes, {
onSameUrlNavigation: 'reload'
})
]