{"action":"created","issue":{"url":"https://api.github.com/repos/rt2zz/redux-persist/issues/522","repository_url":"https://api.github.com/repos/rt2zz/redux-persist","labels_url":"https://api.github.com/repos/rt2zz/redux-persist/issues/522/labels{/name}","comments_url":"https://api.github.com/repos/rt2zz/redux-persist/issues/522/comments","events_url":"https://api.github.com/repos/rt2zz/redux-persist/issues/522/events","html_url":"https://github.com/rt2zz/redux-persist/issues/522","id":269794309,"number":522,"title":"IE11/Edge Requires Manual Browser Reload","user":{"login":"ZeroMcMuffin","id":2131849,"avatar_url":"https://avatars3.githubusercontent.com/u/2131849?v=4","gravatar_id":"","url":"https://api.github.com/users/ZeroMcMuffin","html_url":"https://github.com/ZeroMcMuffin","followers_url":"https://api.github.com/users/ZeroMcMuffin/followers","following_url":"https://api.github.com/users/ZeroMcMuffin/following{/other_user}","gists_url":"https://api.github.com/users/ZeroMcMuffin/gists{/gist_id}","starred_url":"https://api.github.com/users/ZeroMcMuffin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ZeroMcMuffin/subscriptions","organizations_url":"https://api.github.com/users/ZeroMcMuffin/orgs","repos_url":"https://api.github.com/users/ZeroMcMuffin/repos","events_url":"https://api.github.com/users/ZeroMcMuffin/events{/privacy}","received_events_url":"https://api.github.com/users/ZeroMcMuffin/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":10,"created_at":"2017-10-31T00:13:02Z","updated_at":"2017-11-02T11:48:27Z","closed_at":"2017-11-02T11:48:27Z","author_association":"NONE","body":"I've been toying with an IE11/Edge issue for a few days certain it was an implementation issue on my end, but I'm at a dead end now.  I have the issue with both 4.x and 5.x (up to the very new 5.2.0) versions of redux-persist.  I've tried several combinations of action buffers (including the current changes in redux-action-buffer master that allows passthrough for PERSIST), PersistGates, and manually delaying rendering until after REHYDRATE.  \r\n\r\nThe behavior I'm seeing is that initially starting an application with empty storage (using LocalForage or just plain local storage) works just fine.  However, if I click the link to launch the application with a populated storage, the application never starts.  The rehydrate event is firing.  I can see it in my reducers.  My components never really initializes/receive props.  If, however, I manually reload the page...voila the app springs to life.  \r\n\r\nAny help is greatly appreciated.\r\n\r\nHere is my implementation:\r\n\r\n```javascript\r\nimport React, {PureComponent} from 'react';\r\nimport ReactDOM from 'react-dom';\r\nimport {applyMiddleware, compose, createStore} from 'redux';\r\nimport {Provider} from 'react-redux';\r\nimport {syncHistoryWithStore, routerMiddleware} from 'react-router-redux';\r\nimport {hashHistory} from 'react-router';\r\nimport thunk from 'redux-thunk';\r\nimport { PersistGate } from 'redux-persist/lib/integration/react';\r\nimport { persistStore, persistCombineReducers } from 'redux-persist';\r\nimport createMiddleware from 'redux/middleware/clientMiddleware';\r\nimport localForage from 'localforage';\r\nimport { composeWithDevTools } from 'redux-devtools-extension';\r\n\r\nimport Routes from './routes';\r\nimport ApiClient from './helpers/ApiClient';\r\n\r\nconst client = new ApiClient();\r\n\r\nconst config = {\r\n  key: 'exogen',\r\n  storage: localForage\r\n};\r\n\r\nconst rootReducer = require('redux/modules/reducer');\r\nconst reducer = persistCombineReducers(config, rootReducer);\r\n\r\nconst reduxRouterMiddleware = routerMiddleware(hashHistory);\r\nconst middleware = [thunk, createMiddleware(client), reduxRouterMiddleware];\r\n\r\nlet enhancer;\r\n\r\nenhancer = (__DEVTOOLS__)\r\n  ? composeWithDevTools(\r\n    applyMiddleware(...middleware)\r\n  )\r\n  : compose(\r\n    applyMiddleware(...middleware)\r\n  );\r\n\r\nconst store = createStore(reducer, enhancer);\r\nconst history = syncHistoryWithStore(hashHistory, store);\r\nconst persistor = persistStore(store, enhancer);\r\n\r\nif (__DEVELOPMENT__ && module.hot) {\r\n  module.hot.accept('redux/modules/reducer', () => {\r\n    store.replaceReducer(reducer);\r\n  });\r\n}\r\n\r\nconst spinner = <div className=\"spinner-wrapper\"><i className=\"spinner fa fa-circle-o-notch fa-spin fa-3x\"/></div>;\r\n\r\nReactDOM.render(\r\n  <PersistGate\r\n    persistor={persistor}\r\n    loading={spinner}\r\n  >\r\n    <Provider store={store} key=\"provider\">\r\n      <Routes history={history}/>\r\n    </Provider>\r\n  </PersistGate>,\r\n  document.getElementById('content')\r\n);\r\n\r\nif (__DEVTOOLS__) {\r\n  window.React = React;\r\n}\r\n\r\n```"},"comment":{"url":"https://api.github.com/repos/rt2zz/redux-persist/issues/comments/341397490","html_url":"https://github.com/rt2zz/redux-persist/issues/522#issuecomment-341397490","issue_url":"https://api.github.com/repos/rt2zz/redux-persist/issues/522","id":341397490,"user":{"login":"ZeroMcMuffin","id":2131849,"avatar_url":"https://avatars3.githubusercontent.com/u/2131849?v=4","gravatar_id":"","url":"https://api.github.com/users/ZeroMcMuffin","html_url":"https://github.com/ZeroMcMuffin","followers_url":"https://api.github.com/users/ZeroMcMuffin/followers","following_url":"https://api.github.com/users/ZeroMcMuffin/following{/other_user}","gists_url":"https://api.github.com/users/ZeroMcMuffin/gists{/gist_id}","starred_url":"https://api.github.com/users/ZeroMcMuffin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ZeroMcMuffin/subscriptions","organizations_url":"https://api.github.com/users/ZeroMcMuffin/orgs","repos_url":"https://api.github.com/users/ZeroMcMuffin/repos","events_url":"https://api.github.com/users/ZeroMcMuffin/events{/privacy}","received_events_url":"https://api.github.com/users/ZeroMcMuffin/received_events","type":"User","site_admin":false},"created_at":"2017-11-02T11:48:27Z","updated_at":"2017-11-02T11:48:27Z","author_association":"NONE","body":"This was unrelated to redux-persist, just as I'm guessing @rt2zz suspected.  It looks like another library was choking silently.  Sorry for the trouble!\r\n"}}
{"actor":{"display_login":"ZeroMcMuffin"}}