{"action":"opened","issue":{"url":"https://api.github.com/repos/MoonTahoe/react-polling/issues/1","labels_url":"https://api.github.com/repos/MoonTahoe/react-polling/issues/1/labels{/name}","comments_url":"https://api.github.com/repos/MoonTahoe/react-polling/issues/1/comments","events_url":"https://api.github.com/repos/MoonTahoe/react-polling/issues/1/events","html_url":"https://github.com/MoonTahoe/react-polling/issues/1","id":68518092,"number":1,"title":"Simplify state across all socket listeners","user":{"login":"MoonTahoe","id":5952082,"avatar_url":"https://avatars.githubusercontent.com/u/5952082?v=3","gravatar_id":"","url":"https://api.github.com/users/MoonTahoe","html_url":"https://github.com/MoonTahoe","followers_url":"https://api.github.com/users/MoonTahoe/followers","following_url":"https://api.github.com/users/MoonTahoe/following{/other_user}","gists_url":"https://api.github.com/users/MoonTahoe/gists{/gist_id}","starred_url":"https://api.github.com/users/MoonTahoe/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MoonTahoe/subscriptions","organizations_url":"https://api.github.com/users/MoonTahoe/orgs","repos_url":"https://api.github.com/users/MoonTahoe/repos","events_url":"https://api.github.com/users/MoonTahoe/events{/privacy}","received_events_url":"https://api.github.com/users/MoonTahoe/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/MoonTahoe/react-polling/labels/enhancement","name":"enhancement","color":"84b6eb"}],"state":"open","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/MoonTahoe/react-polling/milestones/1","html_url":"https://github.com/MoonTahoe/react-polling/milestones/Tutorial%20Version","labels_url":"https://api.github.com/repos/MoonTahoe/react-polling/milestones/1/labels","id":1067812,"number":1,"title":"Tutorial Version","description":"The simplified version of this app that can be used as a tutorial.","creator":{"login":"MoonTahoe","id":5952082,"avatar_url":"https://avatars.githubusercontent.com/u/5952082?v=3","gravatar_id":"","url":"https://api.github.com/users/MoonTahoe","html_url":"https://github.com/MoonTahoe","followers_url":"https://api.github.com/users/MoonTahoe/followers","following_url":"https://api.github.com/users/MoonTahoe/following{/other_user}","gists_url":"https://api.github.com/users/MoonTahoe/gists{/gist_id}","starred_url":"https://api.github.com/users/MoonTahoe/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MoonTahoe/subscriptions","organizations_url":"https://api.github.com/users/MoonTahoe/orgs","repos_url":"https://api.github.com/users/MoonTahoe/repos","events_url":"https://api.github.com/users/MoonTahoe/events{/privacy}","received_events_url":"https://api.github.com/users/MoonTahoe/received_events","type":"User","site_admin":false},"open_issues":1,"closed_issues":0,"state":"open","created_at":"2015-04-14T22:35:36Z","updated_at":"2015-04-14T22:37:03Z","due_on":null,"closed_at":null},"comments":0,"created_at":"2015-04-14T22:37:03Z","updated_at":"2015-04-14T22:37:03Z","closed_at":null,"body":"Simplify state across all socket listeners\r\n===============================\r\n* Simplify Code\r\n\r\n                        this.socket.on('incomming', this.setState);\r\n                        this.socket.on('incomming', this.setState);\r\n                        this.socket.on('incomming', this.setState);\r\n                        this.socket.on('incomming', this.setState);\r\n\r\n* State Updates Controlled from Server\r\n\r\n                        this.Socket.emit('outgoing', { speaker: state.speaker });\r\n"}}