To prevent browse back navigation we make use of History.pushState()web api. As soon as the user lands on the component where we want to disable back navigation, we set history.pushState(null, ''). As per MDN docs, pushState() has three parameters: ...
Markdown supported · ⌘↵ to post
Nallaiyan V
I use this code after upgrade 13 not working