{"action":"opened","issue":{"url":"https://api.github.com/repos/reactjs/redux/issues/1421","repository_url":"https://api.github.com/repos/reactjs/redux","labels_url":"https://api.github.com/repos/reactjs/redux/issues/1421/labels{/name}","comments_url":"https://api.github.com/repos/reactjs/redux/issues/1421/comments","events_url":"https://api.github.com/repos/reactjs/redux/issues/1421/events","html_url":"https://github.com/reactjs/redux/issues/1421","id":134534362,"number":1421,"title":"redux load local storage at first","user":{"login":"aaeronn","id":6998159,"avatar_url":"https://avatars.githubusercontent.com/u/6998159?v=3","gravatar_id":"","url":"https://api.github.com/users/aaeronn","html_url":"https://github.com/aaeronn","followers_url":"https://api.github.com/users/aaeronn/followers","following_url":"https://api.github.com/users/aaeronn/following{/other_user}","gists_url":"https://api.github.com/users/aaeronn/gists{/gist_id}","starred_url":"https://api.github.com/users/aaeronn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aaeronn/subscriptions","organizations_url":"https://api.github.com/users/aaeronn/orgs","repos_url":"https://api.github.com/users/aaeronn/repos","events_url":"https://api.github.com/users/aaeronn/events{/privacy}","received_events_url":"https://api.github.com/users/aaeronn/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2016-02-18T10:06:26Z","updated_at":"2016-02-18T10:06:26Z","closed_at":null,"body":"I have a react app like where I have `App.js` which includes my `Headers` and `Footers` ..\r\n\r\nIn there I am storing my `state` to local storage.. After storing I can retrieve it .. \r\n\r\nBut I am having problem on loading it.. In my browser when I do `localstorage['key']` it gives me the data but I am unable to load. \r\n\r\nWhere should I load it first ? \r\n\r\nI have `Root.js` :\r\n\r\n    `class Root extends Component {\r\n      render() {\r\n        const { store } = this.props\r\n        return (\r\n          <Provider store={store}>\r\n              <ReduxRouter />\r\n          </Provider>\r\n        )\r\n      }\r\n    }\r\n    \r\n    Root.propTypes = {\r\n      store: PropTypes.object.isRequired\r\n    }\r\n    \r\n    export default Root`\r\n\r\nand `index.js` at outer level :\r\n\r\n    `const store = configureStore()\r\n    \r\n    \r\n    render(\r\n    \r\n      \t<Root store={store} />,\r\n      document.getElementById('root')\r\n    )`\r\n\r\nWhere should I load my `localStorage` ?\r\n\r\nNeed help . I need to know what is called first in react so that I can make a call to load `localStorage` there .. If it is not bad idea\r\n\r\n\r\n"}}