{"action":"closed","issue":{"url":"https://api.github.com/repos/Swizec/d3blackbox/issues/2","repository_url":"https://api.github.com/repos/Swizec/d3blackbox","labels_url":"https://api.github.com/repos/Swizec/d3blackbox/issues/2/labels{/name}","comments_url":"https://api.github.com/repos/Swizec/d3blackbox/issues/2/comments","events_url":"https://api.github.com/repos/Swizec/d3blackbox/issues/2/events","html_url":"https://github.com/Swizec/d3blackbox/issues/2","id":380611829,"node_id":"MDU6SXNzdWUzODA2MTE4Mjk=","number":2,"title":"Error: Attempted to update component `Blackbox` that has already been unmounted (or failed to mount)","user":{"login":"RajuBhosale","id":807961,"node_id":"MDQ6VXNlcjgwNzk2MQ==","avatar_url":"https://avatars0.githubusercontent.com/u/807961?v=4","gravatar_id":"","url":"https://api.github.com/users/RajuBhosale","html_url":"https://github.com/RajuBhosale","followers_url":"https://api.github.com/users/RajuBhosale/followers","following_url":"https://api.github.com/users/RajuBhosale/following{/other_user}","gists_url":"https://api.github.com/users/RajuBhosale/gists{/gist_id}","starred_url":"https://api.github.com/users/RajuBhosale/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/RajuBhosale/subscriptions","organizations_url":"https://api.github.com/users/RajuBhosale/orgs","repos_url":"https://api.github.com/users/RajuBhosale/repos","events_url":"https://api.github.com/users/RajuBhosale/events{/privacy}","received_events_url":"https://api.github.com/users/RajuBhosale/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2018-11-14T09:39:41Z","updated_at":"2018-11-14T13:08:45Z","closed_at":"2018-11-14T13:08:45Z","author_association":"NONE","body":"installed version - \r\n\r\n```\r\nd3blackbox@^1.0.0:\r\n  version \"1.0.0\"\r\n  resolved \"https://registry.yarnpkg.com/d3blackbox/-/d3blackbox-1.0.0.tgz#3b1b121c9c7c304d0e858c5526ffb674ffc8ead5\"\r\n  dependencies:\r\n    d3 \"^5.7.0\"\r\n```\r\n\r\n```\r\nimport TreeViz from './TreeViz';\r\nclass Tree extends Component {\r\n  constructor(props) {\r\n    super(props);\r\n    autoBind(this);\r\n  }\r\n  render() {\r\n    const { data, intl: { formatMessage } } = this.props;\r\n\r\n    return (\r\n      <div className={classnames('container py-4')}>\r\n        <div className={classnames('row justify-content-center align-items-center')}>\r\n          <div className=\"col-12 col-sm-6\">\r\n            <div className=\"vizContainer\">\r\n              <svg>{data && <TreeViz data={data} />}</svg>\r\n            </div>\r\n          </div>\r\n        </div>\r\n      </div>\r\n    );\r\n  }\r\n}\r\n```\r\n\r\n```\r\nimport React from 'react';\r\nimport D3blackbox from 'd3blackbox';\r\nimport * as d3 from 'd3';\r\n\r\nconst TreeViz = D3blackbox((anchor, props, state) => {\r\n  // const svg = d3.select(anchor.current);\r\n  console.log(props.data);\r\n});\r\n\r\nexport default TreeViz;\r\n```"}}
{"actor":{"display_login":"RajuBhosale"}}