{"action":"created","issue":{"url":"https://api.github.com/repos/facebook/react/issues/13626","repository_url":"https://api.github.com/repos/facebook/react","labels_url":"https://api.github.com/repos/facebook/react/issues/13626/labels{/name}","comments_url":"https://api.github.com/repos/facebook/react/issues/13626/comments","events_url":"https://api.github.com/repos/facebook/react/issues/13626/events","html_url":"https://github.com/facebook/react/issues/13626","id":359342597,"node_id":"MDU6SXNzdWUzNTkzNDI1OTc=","number":13626,"title":"a component is mounted twice","user":{"login":"michael8090","id":2306105,"node_id":"MDQ6VXNlcjIzMDYxMDU=","avatar_url":"https://avatars2.githubusercontent.com/u/2306105?v=4","gravatar_id":"","url":"https://api.github.com/users/michael8090","html_url":"https://github.com/michael8090","followers_url":"https://api.github.com/users/michael8090/followers","following_url":"https://api.github.com/users/michael8090/following{/other_user}","gists_url":"https://api.github.com/users/michael8090/gists{/gist_id}","starred_url":"https://api.github.com/users/michael8090/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/michael8090/subscriptions","organizations_url":"https://api.github.com/users/michael8090/orgs","repos_url":"https://api.github.com/users/michael8090/repos","events_url":"https://api.github.com/users/michael8090/events{/privacy}","received_events_url":"https://api.github.com/users/michael8090/received_events","type":"User","site_admin":false},"labels":[{"id":739761016,"node_id":"MDU6TGFiZWw3Mzk3NjEwMTY=","url":"https://api.github.com/repos/facebook/react/labels/Component:%20Reconciler","name":"Component: Reconciler","color":"f9a798","default":false},{"id":710722093,"node_id":"MDU6TGFiZWw3MTA3MjIwOTM=","url":"https://api.github.com/repos/facebook/react/labels/Type:%20Needs%20Investigation","name":"Type: Needs Investigation","color":"fbca04","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":15,"created_at":"2018-09-12T07:05:53Z","updated_at":"2018-09-12T15:55:36Z","closed_at":null,"author_association":"NONE","body":"<!--\r\n  Note: if the issue is about documentation or the website, please file it at:\r\n  https://github.com/reactjs/reactjs.org/issues/new\r\n-->\r\n\r\n***bug***\r\n\r\n**What is the current behavior?**\r\n\r\nFor the same component, `componentDidMount` is called multiple times, without calling `componentWillUnmount` , when using `ReactDOM.unmountComponentAtNode` .\r\n\r\nYou can use the link below to reproduce it:\r\n\r\nhttps://codesandbox.io/s/x76mlw16rp\r\n\r\n**What is the expected behavior?**\r\n\r\n`componentWillUnmount` should be called before calling `componentDidMount` again.\r\n\r\n**Which versions of React, and which browser / OS are affected by this issue? Did this work in previous versions of React?**\r\n\r\n16.x\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/facebook/react/issues/comments/420701366","html_url":"https://github.com/facebook/react/issues/13626#issuecomment-420701366","issue_url":"https://api.github.com/repos/facebook/react/issues/13626","id":420701366,"node_id":"MDEyOklzc3VlQ29tbWVudDQyMDcwMTM2Ng==","user":{"login":"michael8090","id":2306105,"node_id":"MDQ6VXNlcjIzMDYxMDU=","avatar_url":"https://avatars2.githubusercontent.com/u/2306105?v=4","gravatar_id":"","url":"https://api.github.com/users/michael8090","html_url":"https://github.com/michael8090","followers_url":"https://api.github.com/users/michael8090/followers","following_url":"https://api.github.com/users/michael8090/following{/other_user}","gists_url":"https://api.github.com/users/michael8090/gists{/gist_id}","starred_url":"https://api.github.com/users/michael8090/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/michael8090/subscriptions","organizations_url":"https://api.github.com/users/michael8090/orgs","repos_url":"https://api.github.com/users/michael8090/repos","events_url":"https://api.github.com/users/michael8090/events{/privacy}","received_events_url":"https://api.github.com/users/michael8090/received_events","type":"User","site_admin":false},"created_at":"2018-09-12T15:55:36Z","updated_at":"2018-09-12T15:55:36Z","author_association":"NONE","body":"Sure, maybe I need some time to find where the merging code lies, could you shed some light on it?"}}
{"actor":{"display_login":"michael8090"}}