1
0
mirror of https://github.com/BoostIo/Boostnote synced 2025-12-13 17:56:25 +00:00

address review comments - add production/dev main.html & remove comments

This commit is contained in:
AWolf81
2019-05-08 08:46:34 +02:00
committed by Junyoung Choi
parent f7a648903e
commit 333b0584a4
8 changed files with 163 additions and 18 deletions

View File

@@ -469,16 +469,11 @@ function getOrInitItem (target, key) {
const history = createHistory()
// Query not available in HashHistory with ReactRouter >= v4
// Relevant Issue https://github.com/ReactTraining/react-router/issues/4410#issuecomment-293772446
// --> moved from query to search - so we only need query-string parsing/stringify for noteKey.
// (No need to add query to history with a listener)
const reducer = combineReducers({
data,
config,
status,
router: connectRouter(history) // I think we could also go with-out connected-router as we're using history with imports directly
router: connectRouter(history)
})
const store = createStore(reducer, undefined, compose(