{"action":"created","issue":{"url":"https://api.github.com/repos/webpack/webpack.io/issues/64","repository_url":"https://api.github.com/repos/webpack/webpack.io","labels_url":"https://api.github.com/repos/webpack/webpack.io/issues/64/labels{/name}","comments_url":"https://api.github.com/repos/webpack/webpack.io/issues/64/comments","events_url":"https://api.github.com/repos/webpack/webpack.io/issues/64/events","html_url":"https://github.com/webpack/webpack.io/pull/64","id":169719578,"number":64,"title":"Content howto hmr","user":{"login":"jmreidy","id":35949,"avatar_url":"https://avatars.githubusercontent.com/u/35949?v=3","gravatar_id":"","url":"https://api.github.com/users/jmreidy","html_url":"https://github.com/jmreidy","followers_url":"https://api.github.com/users/jmreidy/followers","following_url":"https://api.github.com/users/jmreidy/following{/other_user}","gists_url":"https://api.github.com/users/jmreidy/gists{/gist_id}","starred_url":"https://api.github.com/users/jmreidy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jmreidy/subscriptions","organizations_url":"https://api.github.com/users/jmreidy/orgs","repos_url":"https://api.github.com/users/jmreidy/repos","events_url":"https://api.github.com/users/jmreidy/events{/privacy}","received_events_url":"https://api.github.com/users/jmreidy/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":7,"created_at":"2016-08-06T00:37:14Z","updated_at":"2016-08-11T23:58:05Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/webpack/webpack.io/pulls/64","html_url":"https://github.com/webpack/webpack.io/pull/64","diff_url":"https://github.com/webpack/webpack.io/pull/64.diff","patch_url":"https://github.com/webpack/webpack.io/pull/64.patch"},"body":"Add documentation for a basic How Module Replacement (HMR) setup. The example uses Babel, React, and CSS modules, and explains how to edit webpack.config, what dependencies are needed, and how to structure the source code."},"comment":{"url":"https://api.github.com/repos/webpack/webpack.io/issues/comments/239328399","html_url":"https://github.com/webpack/webpack.io/pull/64#issuecomment-239328399","issue_url":"https://api.github.com/repos/webpack/webpack.io/issues/64","id":239328399,"user":{"login":"tleunen","id":1972567,"avatar_url":"https://avatars.githubusercontent.com/u/1972567?v=3","gravatar_id":"","url":"https://api.github.com/users/tleunen","html_url":"https://github.com/tleunen","followers_url":"https://api.github.com/users/tleunen/followers","following_url":"https://api.github.com/users/tleunen/following{/other_user}","gists_url":"https://api.github.com/users/tleunen/gists{/gist_id}","starred_url":"https://api.github.com/users/tleunen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tleunen/subscriptions","organizations_url":"https://api.github.com/users/tleunen/orgs","repos_url":"https://api.github.com/users/tleunen/repos","events_url":"https://api.github.com/users/tleunen/events{/privacy}","received_events_url":"https://api.github.com/users/tleunen/received_events","type":"User","site_admin":false},"created_at":"2016-08-11T23:58:05Z","updated_at":"2016-08-11T23:58:05Z","body":"To be honest, the first time I read it was quite in diagonal. And the setup for rendering the component was very similar to what I already had in my application so I just missed the fact \"AppContainer\" was something specific to add.\r\nBut after re-reading it, I noticed it. I believe adding a quick comment could help because it's the only part of the documentation that has not any comment so it could be easy to miss the fact it's required for the hot reload.\r\n\r\nMaybe something like:\r\n```jsx\r\n// Render the Application inside the Hot Reload AppContainer\r\nReactDOM.render(\r\n    <AppContainer>\r\n      <App/>\r\n    </AppContainer>,\r\n    document.getElementById('root')\r\n);\r\n```"}}
{"actor":{"display_login":"tleunen"}}