Skip to content

Instantly share code, notes, and snippets.

@clalimarmo clalimarmo/url_store.js
Last active Sep 21, 2015

Embed
What would you like to do?
Deep Linking with React + Flux, URL Store, for maintaining correct URL state
(function() {
Dispather.register(function(action) {
if (action.type !== 'navigate') {
return;
}
window.history.pushState({}, '', action.path);
});
})();
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.