{"action":"closed","issue":{"url":"https://api.github.com/repos/gaearon/react-hot-loader/issues/313","repository_url":"https://api.github.com/repos/gaearon/react-hot-loader","labels_url":"https://api.github.com/repos/gaearon/react-hot-loader/issues/313/labels{/name}","comments_url":"https://api.github.com/repos/gaearon/react-hot-loader/issues/313/comments","events_url":"https://api.github.com/repos/gaearon/react-hot-loader/issues/313/events","html_url":"https://github.com/gaearon/react-hot-loader/issues/313","id":162839246,"number":313,"title":"[3.0] Saving the value of 'this' is broken in class constructor but works with transform-es2015-classes","user":{"login":"Kovensky","id":73085,"avatar_url":"https://avatars1.githubusercontent.com/u/73085?v=4","gravatar_id":"","url":"https://api.github.com/users/Kovensky","html_url":"https://github.com/Kovensky","followers_url":"https://api.github.com/users/Kovensky/followers","following_url":"https://api.github.com/users/Kovensky/following{/other_user}","gists_url":"https://api.github.com/users/Kovensky/gists{/gist_id}","starred_url":"https://api.github.com/users/Kovensky/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Kovensky/subscriptions","organizations_url":"https://api.github.com/users/Kovensky/orgs","repos_url":"https://api.github.com/users/Kovensky/repos","events_url":"https://api.github.com/users/Kovensky/events{/privacy}","received_events_url":"https://api.github.com/users/Kovensky/received_events","type":"User","site_admin":false},"labels":[{"id":113576978,"url":"https://api.github.com/repos/gaearon/react-hot-loader/labels/bug","name":"bug","color":"eb3d31","default":true},{"id":787476521,"url":"https://api.github.com/repos/gaearon/react-hot-loader/labels/fixed%20in%20next","name":"fixed in next","color":"000c7c","default":false}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":12,"created_at":"2016-06-29T04:36:57Z","updated_at":"2018-02-27T10:08:27Z","closed_at":"2018-02-27T10:08:27Z","author_association":"NONE","body":"The code in the following gist (which happens to be based on the example at  https://github.com/facebook/react/issues/7094#issuecomment-228931737) explains the issue in more detail:\n\nhttps://gist.github.com/Kovensky/0ce87560e4b3c93cd77475fdcf94b610\n\nUsing `react-hot-loader@3.0.0-beta.2`. Note that the component in that gist is not inside an `AppContainer`, but the \"real world\" version of it ultimately is, and that one also has the same error behaviour.\n\nThe same problem also happens when using `transform-class-properties` and arrow function properties, as they're bound at construction time.\n"}}
{"actor":{"display_login":"neoziro"}}