{"action":"created","issue":{"url":"https://api.github.com/repos/Olical/react-faux-dom/issues/9","labels_url":"https://api.github.com/repos/Olical/react-faux-dom/issues/9/labels{/name}","comments_url":"https://api.github.com/repos/Olical/react-faux-dom/issues/9/comments","events_url":"https://api.github.com/repos/Olical/react-faux-dom/issues/9/events","html_url":"https://github.com/Olical/react-faux-dom/issues/9","id":109610417,"number":9,"title":"Make events work like the normal DOM","user":{"login":"Olical","id":315229,"avatar_url":"https://avatars.githubusercontent.com/u/315229?v=3","gravatar_id":"","url":"https://api.github.com/users/Olical","html_url":"https://github.com/Olical","followers_url":"https://api.github.com/users/Olical/followers","following_url":"https://api.github.com/users/Olical/following{/other_user}","gists_url":"https://api.github.com/users/Olical/gists{/gist_id}","starred_url":"https://api.github.com/users/Olical/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Olical/subscriptions","organizations_url":"https://api.github.com/users/Olical/orgs","repos_url":"https://api.github.com/users/Olical/repos","events_url":"https://api.github.com/users/Olical/events{/privacy}","received_events_url":"https://api.github.com/users/Olical/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/Olical/react-faux-dom/labels/enhancement","name":"enhancement","color":"84b6eb"}],"state":"closed","locked":false,"assignee":{"login":"Olical","id":315229,"avatar_url":"https://avatars.githubusercontent.com/u/315229?v=3","gravatar_id":"","url":"https://api.github.com/users/Olical","html_url":"https://github.com/Olical","followers_url":"https://api.github.com/users/Olical/followers","following_url":"https://api.github.com/users/Olical/following{/other_user}","gists_url":"https://api.github.com/users/Olical/gists{/gist_id}","starred_url":"https://api.github.com/users/Olical/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Olical/subscriptions","organizations_url":"https://api.github.com/users/Olical/orgs","repos_url":"https://api.github.com/users/Olical/repos","events_url":"https://api.github.com/users/Olical/events{/privacy}","received_events_url":"https://api.github.com/users/Olical/received_events","type":"User","site_admin":false},"milestone":null,"comments":2,"created_at":"2015-10-03T08:42:15Z","updated_at":"2015-10-11T20:19:42Z","closed_at":"2015-10-11T20:05:56Z","body":"This involves the following changes which should help with things like #4.\r\n\r\n * [x] Calling `addEventListener` multiple times should allow you to add multiple listeners.\r\n * [x] Events such as mouse events should pass the native event through, not the synthetic React event.\r\n\r\n## On listeners...\r\n\r\nRight now I have a dumb approach which removes the previous listener and replaces it because I'm just setting `props.onClick`, for example. This needs to basically delegate to some event system that allows you to add or remove multiple listeners. An abstraction on top of Reacts event system to make it behave like the DOM.\r\n\r\n## On event objects...\r\n\r\nThis should allow things like `d3.mouse` to work, right now it completely fails, you have to hit `d3.event` and work it out yourself."},"comment":{"url":"https://api.github.com/repos/Olical/react-faux-dom/issues/comments/147242301","html_url":"https://github.com/Olical/react-faux-dom/issues/9#issuecomment-147242301","issue_url":"https://api.github.com/repos/Olical/react-faux-dom/issues/9","id":147242301,"user":{"login":"Olical","id":315229,"avatar_url":"https://avatars.githubusercontent.com/u/315229?v=3","gravatar_id":"","url":"https://api.github.com/users/Olical","html_url":"https://github.com/Olical","followers_url":"https://api.github.com/users/Olical/followers","following_url":"https://api.github.com/users/Olical/following{/other_user}","gists_url":"https://api.github.com/users/Olical/gists{/gist_id}","starred_url":"https://api.github.com/users/Olical/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Olical/subscriptions","organizations_url":"https://api.github.com/users/Olical/orgs","repos_url":"https://api.github.com/users/Olical/repos","events_url":"https://api.github.com/users/Olical/events{/privacy}","received_events_url":"https://api.github.com/users/Olical/received_events","type":"User","site_admin":false},"created_at":"2015-10-11T20:19:42Z","updated_at":"2015-10-11T20:19:42Z","body":"No problem :D I needed something to do on this five hour long train ride!\nOn 11 Oct 2015 9:17 pm, \"Pierre de la Martinière\" <notifications@github.com>\nwrote:\n\n> Give that man à cookie...\n>\n> Thanks a lot !\n>\n> —\n> Reply to this email directly or view it on GitHub\n> <https://github.com/Olical/react-faux-dom/issues/9#issuecomment-147241918>\n> .\n>\n"}}