Quantcast
Channel: JavaScriptMVC Forum
Viewing all articles
Browse latest Browse all 3491

how to use replaceState for route?

$
0
0
Hi,

I'd like to have some more control when changes in the route should be stored or replaced in the history.

I've got this form where the user can use a lot of filters to make a selection. The route should at all times mimic the selection, so the selection is bookmarkable. But I don't want every change to be stored in history.

I've found the plugin route/pushstate.js, but is it capable of using replaceState? Or should I make a copy and do a search/replace in that file?

Arjen Haayman



Viewing all articles
Browse latest Browse all 3491

Trending Articles