notes about middleware

This commit is contained in:
Colin Megill
2017-10-16 10:40:02 -07:00
parent 48a75beaf9
commit eb492cc70c
2 changed files with 17 additions and 4 deletions
+6 -1
View File
@@ -13,7 +13,12 @@ const updateURLMiddleware = (store) => {
const state = store.getState();
/************************************************************************
*************************************************************************
1. The state just changed. Clear, and then update, the URL.
1a. We get the whole state tree to construct the url from
*************************************************************************
************************************************************************/
// const oldURI = URI(window.location.href)
// const newURI = URI(oldURI).setQuery({})