{"action":"closed","issue":{"url":"https://api.github.com/repos/react-toolbox/react-toolbox/issues/289","repository_url":"https://api.github.com/repos/react-toolbox/react-toolbox","labels_url":"https://api.github.com/repos/react-toolbox/react-toolbox/issues/289/labels{/name}","comments_url":"https://api.github.com/repos/react-toolbox/react-toolbox/issues/289/comments","events_url":"https://api.github.com/repos/react-toolbox/react-toolbox/issues/289/events","html_url":"https://github.com/react-toolbox/react-toolbox/issues/289","id":130258016,"number":289,"title":"Ripple can try to set state after unmounting","user":{"login":"neverfox","id":3344033,"avatar_url":"https://avatars.githubusercontent.com/u/3344033?v=3","gravatar_id":"","url":"https://api.github.com/users/neverfox","html_url":"https://github.com/neverfox","followers_url":"https://api.github.com/users/neverfox/followers","following_url":"https://api.github.com/users/neverfox/following{/other_user}","gists_url":"https://api.github.com/users/neverfox/gists{/gist_id}","starred_url":"https://api.github.com/users/neverfox/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/neverfox/subscriptions","organizations_url":"https://api.github.com/users/neverfox/orgs","repos_url":"https://api.github.com/users/neverfox/repos","events_url":"https://api.github.com/users/neverfox/events{/privacy}","received_events_url":"https://api.github.com/users/neverfox/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/react-toolbox/react-toolbox/labels/enhancement","name":"enhancement","color":"03A9F4"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":6,"created_at":"2016-02-01T05:14:39Z","updated_at":"2016-04-12T20:27:00Z","closed_at":"2016-04-12T20:27:00Z","body":"If your click handler on a Ripple-wrapped component does a transition that unmounts the component, you end up with a warning because of [this line](https://github.com/react-toolbox/react-toolbox/blob/dev/components/ripple/Ripple.jsx#L50):\r\n\r\n```\r\nWarning: setState(...): Can only update a mounted or mounting component. This usually\r\nmeans you called setState() on an unmounted component. This is a no-op. Please check\r\nthe code for the undefined component.\r\n```"}}