title: Redux: Passing a preloadedstate with combined reducer and store enhancer
body: <p>I created a redux store with the reducer and enhancer functions. </p>
  
  <pre><code>    const store = createStore(rootReducer, compose(
        applyMiddleware(thunk),
        DevTools.instrument()
      ))
  </code></pre>
  
  <p>rootReducer uses combineReducers to create a single root reducer. I would like to initialize the window's location value within the store so I tried something like this:</p>
  
  <pre><code> const initialWindowLocation = window.location.hostname
   const store = createStore(rootReducer, initialWindowLocation, compose(
        applyMiddleware(thunk),
        DevTools.instrument()
   ))
  </code></pre>
  
  <p>I connected the store to the redux forms and I'm able to grab all the reducer values via mapStateToProps <strong>but I'm stuck trying to access a simple string value(i.e.initialWindowLocation) from the redux createStore. Is there some redux tricks that I'm missing?</strong></p>
  
  <p>Also if I try that I'm getting an unexpected key error:</p>
  
  <pre><code> Unexpected key found in previous state received by the reducer.
  </code></pre>
  
  <p>Any thoughts on this? Thanks in advance.</p>