{"action":"created","issue":{"url":"https://api.github.com/repos/facebook/react/issues/4250","labels_url":"https://api.github.com/repos/facebook/react/issues/4250/labels{/name}","comments_url":"https://api.github.com/repos/facebook/react/issues/4250/comments","events_url":"https://api.github.com/repos/facebook/react/issues/4250/events","html_url":"https://github.com/facebook/react/issues/4250","id":91842602,"number":4250,"title":"Mechanism to listen for all events","user":{"login":"nwwells","id":1039473,"avatar_url":"https://avatars.githubusercontent.com/u/1039473?v=3","gravatar_id":"","url":"https://api.github.com/users/nwwells","html_url":"https://github.com/nwwells","followers_url":"https://api.github.com/users/nwwells/followers","following_url":"https://api.github.com/users/nwwells/following{/other_user}","gists_url":"https://api.github.com/users/nwwells/gists{/gist_id}","starred_url":"https://api.github.com/users/nwwells/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nwwells/subscriptions","organizations_url":"https://api.github.com/users/nwwells/orgs","repos_url":"https://api.github.com/users/nwwells/repos","events_url":"https://api.github.com/users/nwwells/events{/privacy}","received_events_url":"https://api.github.com/users/nwwells/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":20,"created_at":"2015-06-29T15:54:07Z","updated_at":"2015-06-30T13:35:20Z","closed_at":null,"body":"Is there already such a mechanism? If so, can I help document it?\r\n\r\nIf not, I'll like to have a method or API that I could call to listen for all synthetic events. Something like...\r\n\r\n    React.Events.listenTo('*', function (event) { console.log(event) });\r\n\r\nI'd like to be able to stopPropagation and preventDefault on those events, as well. "},"comment":{"url":"https://api.github.com/repos/facebook/react/issues/comments/117186824","html_url":"https://github.com/facebook/react/issues/4250#issuecomment-117186824","issue_url":"https://api.github.com/repos/facebook/react/issues/4250","id":117186824,"user":{"login":"spicyj","id":6820,"avatar_url":"https://avatars.githubusercontent.com/u/6820?v=3","gravatar_id":"","url":"https://api.github.com/users/spicyj","html_url":"https://github.com/spicyj","followers_url":"https://api.github.com/users/spicyj/followers","following_url":"https://api.github.com/users/spicyj/following{/other_user}","gists_url":"https://api.github.com/users/spicyj/gists{/gist_id}","starred_url":"https://api.github.com/users/spicyj/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/spicyj/subscriptions","organizations_url":"https://api.github.com/users/spicyj/orgs","repos_url":"https://api.github.com/users/spicyj/repos","events_url":"https://api.github.com/users/spicyj/events{/privacy}","received_events_url":"https://api.github.com/users/spicyj/received_events","type":"User","site_admin":false},"created_at":"2015-06-30T13:35:20Z","updated_at":"2015-06-30T13:35:20Z","body":"> I would happily bypass React's event system entirely, but I have been unable to do that without working around the ways in which React's components are tied to it's event system.\r\n\r\nThe only way (that I can think of right now) that DOM components are tied to the event system is in value/checked handling. If you use defaultValue/defaultChecked then React won't do anything special."}}