{"action":"created","issue":{"url":"https://api.github.com/repos/gaearon/react-hot-loader/issues/158","labels_url":"https://api.github.com/repos/gaearon/react-hot-loader/issues/158/labels{/name}","comments_url":"https://api.github.com/repos/gaearon/react-hot-loader/issues/158/comments","events_url":"https://api.github.com/repos/gaearon/react-hot-loader/issues/158/events","html_url":"https://github.com/gaearon/react-hot-loader/issues/158","id":94568016,"number":158,"title":"\"Can't make class hot reloadable due to being read-only” ","user":{"login":"pburtchaell","id":3857324,"avatar_url":"https://avatars.githubusercontent.com/u/3857324?v=3","gravatar_id":"","url":"https://api.github.com/users/pburtchaell","html_url":"https://github.com/pburtchaell","followers_url":"https://api.github.com/users/pburtchaell/followers","following_url":"https://api.github.com/users/pburtchaell/following{/other_user}","gists_url":"https://api.github.com/users/pburtchaell/gists{/gist_id}","starred_url":"https://api.github.com/users/pburtchaell/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pburtchaell/subscriptions","organizations_url":"https://api.github.com/users/pburtchaell/orgs","repos_url":"https://api.github.com/users/pburtchaell/repos","events_url":"https://api.github.com/users/pburtchaell/events{/privacy}","received_events_url":"https://api.github.com/users/pburtchaell/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":17,"created_at":"2015-07-12T14:15:39Z","updated_at":"2015-12-29T19:10:34Z","closed_at":"2015-08-22T21:23:34Z","body":"I'm getting the  \"Can't make class hot reloadable due to being read-only”  warning on three of my components. ~~Considering that these are ordinary components, I am a bit confused by this error; it seems random.~~ Any ideas what could have gone wrong?\r\n\r\nHere is an example of one such component that is throwing the error. The other two components are reasonably similar to this one: \r\n\r\n```js\r\nimport React, { Component } from 'react';\r\nimport { View } from 'components/layout';\r\nimport { RegisterForm } from './components';\r\n\r\nconst viewConfig = {\r\n  ...\r\n};\r\n\r\nexport default class RegisterView extends Component {\r\n  render() {\r\n    return (\r\n      <View {...viewConfig}>\r\n        <RegisterForm />\r\n      </View>\r\n    );\r\n  }\r\n}\r\n\r\n```\r\n\r\nEDIT:\r\n\r\nLooks like this is connected to #72?"},"comment":{"url":"https://api.github.com/repos/gaearon/react-hot-loader/issues/comments/167855629","html_url":"https://github.com/gaearon/react-hot-loader/issues/158#issuecomment-167855629","issue_url":"https://api.github.com/repos/gaearon/react-hot-loader/issues/158","id":167855629,"user":{"login":"Download","id":153391,"avatar_url":"https://avatars.githubusercontent.com/u/153391?v=3","gravatar_id":"","url":"https://api.github.com/users/Download","html_url":"https://github.com/Download","followers_url":"https://api.github.com/users/Download/followers","following_url":"https://api.github.com/users/Download/following{/other_user}","gists_url":"https://api.github.com/users/Download/gists{/gist_id}","starred_url":"https://api.github.com/users/Download/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Download/subscriptions","organizations_url":"https://api.github.com/users/Download/orgs","repos_url":"https://api.github.com/users/Download/repos","events_url":"https://api.github.com/users/Download/events{/privacy}","received_events_url":"https://api.github.com/users/Download/received_events","type":"User","site_admin":false},"created_at":"2015-12-29T19:10:34Z","updated_at":"2015-12-29T19:10:34Z","body":"I'm also having the same issue. I am using an index.jsx file as @idan mentions, so will try to fiddle with that."}}