{"action":"created","issue":{"url":"https://api.github.com/repos/developit/mitt/issues/8","repository_url":"https://api.github.com/repos/developit/mitt","labels_url":"https://api.github.com/repos/developit/mitt/issues/8/labels{/name}","comments_url":"https://api.github.com/repos/developit/mitt/issues/8/comments","events_url":"https://api.github.com/repos/developit/mitt/issues/8/events","html_url":"https://github.com/developit/mitt/pull/8","id":201080197,"number":8,"title":"Use Set instead of Array","user":{"login":"alexeyraspopov","id":858295,"avatar_url":"https://avatars.githubusercontent.com/u/858295?v=3","gravatar_id":"","url":"https://api.github.com/users/alexeyraspopov","html_url":"https://github.com/alexeyraspopov","followers_url":"https://api.github.com/users/alexeyraspopov/followers","following_url":"https://api.github.com/users/alexeyraspopov/following{/other_user}","gists_url":"https://api.github.com/users/alexeyraspopov/gists{/gist_id}","starred_url":"https://api.github.com/users/alexeyraspopov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alexeyraspopov/subscriptions","organizations_url":"https://api.github.com/users/alexeyraspopov/orgs","repos_url":"https://api.github.com/users/alexeyraspopov/repos","events_url":"https://api.github.com/users/alexeyraspopov/events{/privacy}","received_events_url":"https://api.github.com/users/alexeyraspopov/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":17,"created_at":"2017-01-16T17:34:38Z","updated_at":"2017-01-17T20:17:59Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/developit/mitt/pulls/8","html_url":"https://github.com/developit/mitt/pull/8","diff_url":"https://github.com/developit/mitt/pull/8.diff","patch_url":"https://github.com/developit/mitt/pull/8.patch"},"body":"Pros:\r\n\r\n * Smaller size (181b)\r\n * Easier to deal with handler's deletion\r\n * Make sure the same handlers in `*` and in other types are called only once\r\n * Prevent unexpected handlers duplication in one type\r\n\r\nCons:\r\n\r\n * Removes the support of duplicated handlers in the same list. Personally I consider this as a pros because this behavior always leads to unexpected redundant handler calls when you don't expect it at all. Once you run into this issue, you start to wrapping code into conditions to prevent unnecessary registrations."},"comment":{"url":"https://api.github.com/repos/developit/mitt/issues/comments/273286971","html_url":"https://github.com/developit/mitt/pull/8#issuecomment-273286971","issue_url":"https://api.github.com/repos/developit/mitt/issues/8","id":273286971,"user":{"login":"tunnckoCore","id":5038030,"avatar_url":"https://avatars.githubusercontent.com/u/5038030?v=3","gravatar_id":"","url":"https://api.github.com/users/tunnckoCore","html_url":"https://github.com/tunnckoCore","followers_url":"https://api.github.com/users/tunnckoCore/followers","following_url":"https://api.github.com/users/tunnckoCore/following{/other_user}","gists_url":"https://api.github.com/users/tunnckoCore/gists{/gist_id}","starred_url":"https://api.github.com/users/tunnckoCore/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tunnckoCore/subscriptions","organizations_url":"https://api.github.com/users/tunnckoCore/orgs","repos_url":"https://api.github.com/users/tunnckoCore/repos","events_url":"https://api.github.com/users/tunnckoCore/events{/privacy}","received_events_url":"https://api.github.com/users/tunnckoCore/received_events","type":"User","site_admin":false},"created_at":"2017-01-17T20:17:59Z","updated_at":"2017-01-17T20:17:59Z","body":"Just read its docs.\r\n\r\n> Bublé only transpiles language features – it doesn't attempt to shim or polyfill the environment. If you want to use things like array.findIndex(...) or 'x'.repeat(3) or Map and Set you'll have to bring your own polyfill (check out core-js or es6-shim).\r\n> "}}
{"actor":{"display_login":"tunnckoCore"}}