{"action":"created","issue":{"url":"https://api.github.com/repos/facebook/react/issues/7616","repository_url":"https://api.github.com/repos/facebook/react","labels_url":"https://api.github.com/repos/facebook/react/issues/7616/labels{/name}","comments_url":"https://api.github.com/repos/facebook/react/issues/7616/comments","events_url":"https://api.github.com/repos/facebook/react/issues/7616/events","html_url":"https://github.com/facebook/react/pull/7616","id":174092330,"number":7616,"title":"Generate SimpleEventPlugin data structures at runtime","user":{"login":"vjeux","id":197597,"avatar_url":"https://avatars.githubusercontent.com/u/197597?v=3","gravatar_id":"","url":"https://api.github.com/users/vjeux","html_url":"https://github.com/vjeux","followers_url":"https://api.github.com/users/vjeux/followers","following_url":"https://api.github.com/users/vjeux/following{/other_user}","gists_url":"https://api.github.com/users/vjeux/gists{/gist_id}","starred_url":"https://api.github.com/users/vjeux/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vjeux/subscriptions","organizations_url":"https://api.github.com/users/vjeux/orgs","repos_url":"https://api.github.com/users/vjeux/repos","events_url":"https://api.github.com/users/vjeux/events{/privacy}","received_events_url":"https://api.github.com/users/vjeux/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/facebook/react/labels/CLA%20Signed","name":"CLA Signed","color":"e7e7e7"},{"url":"https://api.github.com/repos/facebook/react/labels/GH%20Review:%20review-needed","name":"GH Review: review-needed","color":"fbca04"},{"url":"https://api.github.com/repos/facebook/react/labels/semver-exempt","name":"semver-exempt","color":"1d76db"}],"state":"open","locked":false,"assignee":{"login":"gaearon","id":810438,"avatar_url":"https://avatars.githubusercontent.com/u/810438?v=3","gravatar_id":"","url":"https://api.github.com/users/gaearon","html_url":"https://github.com/gaearon","followers_url":"https://api.github.com/users/gaearon/followers","following_url":"https://api.github.com/users/gaearon/following{/other_user}","gists_url":"https://api.github.com/users/gaearon/gists{/gist_id}","starred_url":"https://api.github.com/users/gaearon/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gaearon/subscriptions","organizations_url":"https://api.github.com/users/gaearon/orgs","repos_url":"https://api.github.com/users/gaearon/repos","events_url":"https://api.github.com/users/gaearon/events{/privacy}","received_events_url":"https://api.github.com/users/gaearon/received_events","type":"User","site_admin":false},"assignees":[{"login":"gaearon","id":810438,"avatar_url":"https://avatars.githubusercontent.com/u/810438?v=3","gravatar_id":"","url":"https://api.github.com/users/gaearon","html_url":"https://github.com/gaearon","followers_url":"https://api.github.com/users/gaearon/followers","following_url":"https://api.github.com/users/gaearon/following{/other_user}","gists_url":"https://api.github.com/users/gaearon/gists{/gist_id}","starred_url":"https://api.github.com/users/gaearon/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gaearon/subscriptions","organizations_url":"https://api.github.com/users/gaearon/orgs","repos_url":"https://api.github.com/users/gaearon/repos","events_url":"https://api.github.com/users/gaearon/events{/privacy}","received_events_url":"https://api.github.com/users/gaearon/received_events","type":"User","site_admin":false}],"milestone":{"url":"https://api.github.com/repos/facebook/react/milestones/25","html_url":"https://github.com/facebook/react/milestones/15-next","labels_url":"https://api.github.com/repos/facebook/react/milestones/25/labels","id":1691310,"number":25,"title":"15-next","description":"We'll use this milestone to collect all PRs that will be shipped in a version of React v15. As they are cherry-picked to the branch, we will determine what version the next release is (minor or patch) based on the changes.\r\n\r\nWe will create a new milestone and move PRs to that milestone as they are cherry-picked.","creator":{"login":"zpao","id":8445,"avatar_url":"https://avatars.githubusercontent.com/u/8445?v=3","gravatar_id":"","url":"https://api.github.com/users/zpao","html_url":"https://github.com/zpao","followers_url":"https://api.github.com/users/zpao/followers","following_url":"https://api.github.com/users/zpao/following{/other_user}","gists_url":"https://api.github.com/users/zpao/gists{/gist_id}","starred_url":"https://api.github.com/users/zpao/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zpao/subscriptions","organizations_url":"https://api.github.com/users/zpao/orgs","repos_url":"https://api.github.com/users/zpao/repos","events_url":"https://api.github.com/users/zpao/events{/privacy}","received_events_url":"https://api.github.com/users/zpao/received_events","type":"User","site_admin":false},"open_issues":2,"closed_issues":40,"state":"open","created_at":"2016-04-08T00:06:43Z","updated_at":"2016-08-30T22:42:36Z","due_on":null,"closed_at":null},"comments":6,"created_at":"2016-08-30T18:34:51Z","updated_at":"2016-08-30T22:53:28Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/facebook/react/pulls/7616","html_url":"https://github.com/facebook/react/pull/7616","diff_url":"https://github.com/facebook/react/pull/7616.diff","patch_url":"https://github.com/facebook/react/pull/7616.patch"},"body":"We used to copy and paste the same big blob many times in order for it to work with keyOf which is no longer a constraint. This pull request takes a list of all the events as string and generate those data structures at runtime.\r\n\r\nIt reduces the size of React by 1k post gzip and flow is able to extract the structure out of it :)\r\n\r\n<img width=\"526\" alt=\"screen shot 2016-08-30 at 11 30 50 am\" src=\"https://cloud.githubusercontent.com/assets/197597/18101953/9eb451aa-6ea5-11e6-99e7-f780ca539ef5.png\">\r\n<img width=\"775\" alt=\"screen shot 2016-08-30 at 11 34 33 am\" src=\"https://cloud.githubusercontent.com/assets/197597/18101989/c2be16c6-6ea5-11e6-87e1-b26177bb80ec.png\">\r\n"},"comment":{"url":"https://api.github.com/repos/facebook/react/issues/comments/243607084","html_url":"https://github.com/facebook/react/pull/7616#issuecomment-243607084","issue_url":"https://api.github.com/repos/facebook/react/issues/7616","id":243607084,"user":{"login":"gaearon","id":810438,"avatar_url":"https://avatars.githubusercontent.com/u/810438?v=3","gravatar_id":"","url":"https://api.github.com/users/gaearon","html_url":"https://github.com/gaearon","followers_url":"https://api.github.com/users/gaearon/followers","following_url":"https://api.github.com/users/gaearon/following{/other_user}","gists_url":"https://api.github.com/users/gaearon/gists{/gist_id}","starred_url":"https://api.github.com/users/gaearon/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gaearon/subscriptions","organizations_url":"https://api.github.com/users/gaearon/orgs","repos_url":"https://api.github.com/users/gaearon/repos","events_url":"https://api.github.com/users/gaearon/events{/privacy}","received_events_url":"https://api.github.com/users/gaearon/received_events","type":"User","site_admin":false},"created_at":"2016-08-30T22:53:28Z","updated_at":"2016-08-30T22:53:28Z","body":"I want to. Can we also record this for future generations? cc @kentcdodds"}}
{"actor":{"display_login":"gaearon"}}