{"action":"created","issue":{"url":"https://api.github.com/repos/facebook/react/issues/12742","repository_url":"https://api.github.com/repos/facebook/react","labels_url":"https://api.github.com/repos/facebook/react/issues/12742/labels{/name}","comments_url":"https://api.github.com/repos/facebook/react/issues/12742/comments","events_url":"https://api.github.com/repos/facebook/react/issues/12742/events","html_url":"https://github.com/facebook/react/pull/12742","id":320335031,"number":12742,"title":"[size: tiny] Rename methods exposed by `ReactScheduler`","user":{"login":"flarnie","id":1114467,"avatar_url":"https://avatars2.githubusercontent.com/u/1114467?v=4","gravatar_id":"","url":"https://api.github.com/users/flarnie","html_url":"https://github.com/flarnie","followers_url":"https://api.github.com/users/flarnie/followers","following_url":"https://api.github.com/users/flarnie/following{/other_user}","gists_url":"https://api.github.com/users/flarnie/gists{/gist_id}","starred_url":"https://api.github.com/users/flarnie/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/flarnie/subscriptions","organizations_url":"https://api.github.com/users/flarnie/orgs","repos_url":"https://api.github.com/users/flarnie/repos","events_url":"https://api.github.com/users/flarnie/events{/privacy}","received_events_url":"https://api.github.com/users/flarnie/received_events","type":"User","site_admin":false},"labels":[{"id":196858374,"url":"https://api.github.com/repos/facebook/react/labels/CLA%20Signed","name":"CLA Signed","color":"e7e7e7","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2018-05-04T16:15:03Z","updated_at":"2018-05-04T16:44:03Z","closed_at":null,"author_association":"CONTRIBUTOR","pull_request":{"url":"https://api.github.com/repos/facebook/react/pulls/12742","html_url":"https://github.com/facebook/react/pull/12742","diff_url":"https://github.com/facebook/react/pull/12742.diff","patch_url":"https://github.com/facebook/react/pull/12742.patch"},"body":"Going to make incremental PRs with the changes we discussed. This is a quick and easy one to start with.\r\n\r\n**what is the change?:**\r\n`rIC` -> `scheduleSerialCallback`\r\nWe will later expose a second method called `scheduleDeferredCallback`,\r\nfor different priority levels.\r\n\r\n`cIC` -> `cancelScheduledCallback`\r\nThis method can be used to cancel callbacks scheduled at either serial\r\nor deferred priority.\r\n\r\n**why make this change?:**\r\nOriginally this module contained a polyfill for `requestIdleCallback`\r\nand `cancelIdleCallback` but we are changing the behavior so it's no\r\nlonger just a polyfill. The new names are more semantic and distinguish\r\nthis from the original polyfill functionality.\r\n\r\n**test plan:**\r\nRan the tests"},"comment":{"url":"https://api.github.com/repos/facebook/react/issues/comments/386659684","html_url":"https://github.com/facebook/react/pull/12742#issuecomment-386659684","issue_url":"https://api.github.com/repos/facebook/react/issues/12742","id":386659684,"user":{"login":"gaearon","id":810438,"avatar_url":"https://avatars0.githubusercontent.com/u/810438?v=4","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":"2018-05-04T16:44:03Z","updated_at":"2018-05-04T16:44:03Z","author_association":"MEMBER","body":"I don’t think so. \r\n\r\n>We will later expose a second method called scheduleDeferredCallback,\r\nfor different priority levels.\r\n\r\n>This method can be used to cancel callbacks *scheduled at either serial\r\nor deferred priority*.\r\n\r\n(Emphasis mine)"}}
{"actor":{"display_login":"gaearon"}}