Get router history working with flux

This commit is contained in:
Berkeley Martinez
2015-12-31 17:39:29 -08:00
parent dcf7f59667
commit 80d36cc3cd
5 changed files with 117 additions and 53 deletions

View File

@@ -38,8 +38,14 @@ export default Actions({
});
},
updateRoute(route) {
return { route };
},
goBack: null
// routing
goTo: null,
goBack: null,
updateLocation(location) {
return {
transform(state) {
return { ...state, location };
}
};
}
});