{"action":"created","issue":{"url":"https://api.github.com/repos/react-component/trigger/issues/3","labels_url":"https://api.github.com/repos/react-component/trigger/issues/3/labels{/name}","comments_url":"https://api.github.com/repos/react-component/trigger/issues/3/comments","events_url":"https://api.github.com/repos/react-component/trigger/issues/3/events","html_url":"https://github.com/react-component/trigger/issues/3","id":119993452,"number":3,"title":"Error: isMounted() not working with Components made with ES6 classes in React v14","user":{"login":"mhodgson","id":8408,"avatar_url":"https://avatars.githubusercontent.com/u/8408?v=3","gravatar_id":"","url":"https://api.github.com/users/mhodgson","html_url":"https://github.com/mhodgson","followers_url":"https://api.github.com/users/mhodgson/followers","following_url":"https://api.github.com/users/mhodgson/following{/other_user}","gists_url":"https://api.github.com/users/mhodgson/gists{/gist_id}","starred_url":"https://api.github.com/users/mhodgson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mhodgson/subscriptions","organizations_url":"https://api.github.com/users/mhodgson/orgs","repos_url":"https://api.github.com/users/mhodgson/repos","events_url":"https://api.github.com/users/mhodgson/events{/privacy}","received_events_url":"https://api.github.com/users/mhodgson/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-12-02T17:24:41Z","updated_at":"2015-12-03T11:44:15Z","closed_at":null,"body":"This line uses a method that doesn't work when components are constructed as ES6 classes. I believe the problem I am having is just a scope issue. The references to `this` should really be references to `self`. \r\n\r\nhttps://github.com/react-component/trigger/blob/master/src/Trigger.jsx#L83\r\n"},"comment":{"url":"https://api.github.com/repos/react-component/trigger/issues/comments/161607504","html_url":"https://github.com/react-component/trigger/issues/3#issuecomment-161607504","issue_url":"https://api.github.com/repos/react-component/trigger/issues/3","id":161607504,"user":{"login":"yiminghe","id":200876,"avatar_url":"https://avatars.githubusercontent.com/u/200876?v=3","gravatar_id":"","url":"https://api.github.com/users/yiminghe","html_url":"https://github.com/yiminghe","followers_url":"https://api.github.com/users/yiminghe/followers","following_url":"https://api.github.com/users/yiminghe/following{/other_user}","gists_url":"https://api.github.com/users/yiminghe/gists{/gist_id}","starred_url":"https://api.github.com/users/yiminghe/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yiminghe/subscriptions","organizations_url":"https://api.github.com/users/yiminghe/orgs","repos_url":"https://api.github.com/users/yiminghe/repos","events_url":"https://api.github.com/users/yiminghe/events{/privacy}","received_events_url":"https://api.github.com/users/yiminghe/received_events","type":"User","site_admin":false},"created_at":"2015-12-03T11:44:15Z","updated_at":"2015-12-03T11:44:15Z","body":"not related to es2015 class, you need to install the latest react(0.14.3)"}}