{"action":"created","issue":{"url":"https://api.github.com/repos/esbullington/react-d3/issues/234","labels_url":"https://api.github.com/repos/esbullington/react-d3/issues/234/labels{/name}","comments_url":"https://api.github.com/repos/esbullington/react-d3/issues/234/comments","events_url":"https://api.github.com/repos/esbullington/react-d3/issues/234/events","html_url":"https://github.com/esbullington/react-d3/issues/234","id":91097990,"number":234,"title":"Should hover effects change state","user":{"login":"Kevnz","id":62547,"avatar_url":"https://avatars.githubusercontent.com/u/62547?v=3","gravatar_id":"","url":"https://api.github.com/users/Kevnz","html_url":"https://github.com/Kevnz","followers_url":"https://api.github.com/users/Kevnz/followers","following_url":"https://api.github.com/users/Kevnz/following{/other_user}","gists_url":"https://api.github.com/users/Kevnz/gists{/gist_id}","starred_url":"https://api.github.com/users/Kevnz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Kevnz/subscriptions","organizations_url":"https://api.github.com/users/Kevnz/orgs","repos_url":"https://api.github.com/users/Kevnz/repos","events_url":"https://api.github.com/users/Kevnz/events{/privacy}","received_events_url":"https://api.github.com/users/Kevnz/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":9,"created_at":"2015-06-25T22:58:25Z","updated_at":"2015-07-12T08:06:00Z","closed_at":null,"body":"I was creating an interactive Line Chart and noticed that hover changes state of the circles, however if I am trying to render the chart again React throws an error for changing state during the render cycle. Would this be better as a direct DOM change and bypass state? That way the chart can rerender safely? I would be happy to submit a PR for this, but before I do that I'd like to know if there is any history or baggage or scar tissue associated with this or if I'm just way off base."},"comment":{"url":"https://api.github.com/repos/esbullington/react-d3/issues/comments/120700529","html_url":"https://github.com/esbullington/react-d3/issues/234#issuecomment-120700529","issue_url":"https://api.github.com/repos/esbullington/react-d3/issues/234","id":120700529,"user":{"login":"BigDataSamuli","id":7766749,"avatar_url":"https://avatars.githubusercontent.com/u/7766749?v=3","gravatar_id":"","url":"https://api.github.com/users/BigDataSamuli","html_url":"https://github.com/BigDataSamuli","followers_url":"https://api.github.com/users/BigDataSamuli/followers","following_url":"https://api.github.com/users/BigDataSamuli/following{/other_user}","gists_url":"https://api.github.com/users/BigDataSamuli/gists{/gist_id}","starred_url":"https://api.github.com/users/BigDataSamuli/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/BigDataSamuli/subscriptions","organizations_url":"https://api.github.com/users/BigDataSamuli/orgs","repos_url":"https://api.github.com/users/BigDataSamuli/repos","events_url":"https://api.github.com/users/BigDataSamuli/events{/privacy}","received_events_url":"https://api.github.com/users/BigDataSamuli/received_events","type":"User","site_admin":false},"created_at":"2015-07-12T08:06:00Z","updated_at":"2015-07-12T08:06:00Z","body":"Ok sorry, the error message didn't really correlate with that anyway. I just though that calling setState was only prohibited directly inside the update or render path and that the mouseover events would have been queued somehow, but I guess not."}}