{"action":"created","issue":{"url":"https://api.github.com/repos/FormidableLabs/radium/issues/219","labels_url":"https://api.github.com/repos/FormidableLabs/radium/issues/219/labels{/name}","comments_url":"https://api.github.com/repos/FormidableLabs/radium/issues/219/comments","events_url":"https://api.github.com/repos/FormidableLabs/radium/issues/219/events","html_url":"https://github.com/FormidableLabs/radium/issues/219","id":89771987,"number":219,"title":"0.13.0 breaks react-hot-loader","user":{"login":"bobbyrenwick","id":1313013,"avatar_url":"https://avatars.githubusercontent.com/u/1313013?v=3","gravatar_id":"","url":"https://api.github.com/users/bobbyrenwick","html_url":"https://github.com/bobbyrenwick","followers_url":"https://api.github.com/users/bobbyrenwick/followers","following_url":"https://api.github.com/users/bobbyrenwick/following{/other_user}","gists_url":"https://api.github.com/users/bobbyrenwick/gists{/gist_id}","starred_url":"https://api.github.com/users/bobbyrenwick/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bobbyrenwick/subscriptions","organizations_url":"https://api.github.com/users/bobbyrenwick/orgs","repos_url":"https://api.github.com/users/bobbyrenwick/repos","events_url":"https://api.github.com/users/bobbyrenwick/events{/privacy}","received_events_url":"https://api.github.com/users/bobbyrenwick/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/FormidableLabs/radium/labels/help%20wanted","name":"help wanted","color":"159818"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":10,"created_at":"2015-06-20T13:41:41Z","updated_at":"2015-07-08T12:37:06Z","closed_at":null,"body":"I'm using `React.createClass`, `Radium` and `react-hot-loader@1.2.7` like follows:\r\n\r\n```es6\r\nvar React = require(\"react\");\r\nvar Radium = require(\"radium\");\r\n\r\nvar SearchInput = React.createClass({\r\n\r\n    getStyles: function() {\r\n        const styles = {\r\n            base: {\r\n                backgroundColor: \"red\",\r\n            },\r\n        };\r\n\r\n        return [\r\n            styles.base,\r\n        ];\r\n    },\r\n\r\n    render: function() {\r\n        return (\r\n            <div style={this.getStyles()}>\r\n                Hello Radium\r\n            </div>\r\n        );\r\n    }\r\n\r\n});\r\n\r\nmodule.exports = Radium(SearchInput);\r\n```\r\n\r\nWhen I updated to `v0.13.0`, hot updates to components using Radium stopped working. It was working with `v0.12.1` before. This is a pretty big as all my styles are done with Radium and this now stops me from seeing the effect of my code changes."},"comment":{"url":"https://api.github.com/repos/FormidableLabs/radium/issues/comments/119560721","html_url":"https://github.com/FormidableLabs/radium/issues/219#issuecomment-119560721","issue_url":"https://api.github.com/repos/FormidableLabs/radium/issues/219","id":119560721,"user":{"login":"bobbyrenwick","id":1313013,"avatar_url":"https://avatars.githubusercontent.com/u/1313013?v=3","gravatar_id":"","url":"https://api.github.com/users/bobbyrenwick","html_url":"https://github.com/bobbyrenwick","followers_url":"https://api.github.com/users/bobbyrenwick/followers","following_url":"https://api.github.com/users/bobbyrenwick/following{/other_user}","gists_url":"https://api.github.com/users/bobbyrenwick/gists{/gist_id}","starred_url":"https://api.github.com/users/bobbyrenwick/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bobbyrenwick/subscriptions","organizations_url":"https://api.github.com/users/bobbyrenwick/orgs","repos_url":"https://api.github.com/users/bobbyrenwick/repos","events_url":"https://api.github.com/users/bobbyrenwick/events{/privacy}","received_events_url":"https://api.github.com/users/bobbyrenwick/received_events","type":"User","site_admin":false},"created_at":"2015-07-08T12:37:06Z","updated_at":"2015-07-08T12:37:06Z","body":"Hmm, maybe I was a little hasty there, updates to styles works, but adding new functions and calling them in render doesn't work."}}