I used this method to navigate to url, trigger an event and not push url to browser history. But Backbone.history.navigate(url,{trigger:true, replace: true})
replace previous url from history.
Example: Browser hystory
Before
localhost:port/url
Backbone.history.navigate(url + '/list',{ trigger:true, replace: true })
Expected: trigger event on route url + '/list'
and Browser history localhost:port/url
Actually: triggering event but Browser history localhost:port/#url/list
.
Previous url is replaced