{"action":"created","issue":{"url":"https://api.github.com/repos/facebook/react/issues/12600","repository_url":"https://api.github.com/repos/facebook/react","labels_url":"https://api.github.com/repos/facebook/react/issues/12600/labels{/name}","comments_url":"https://api.github.com/repos/facebook/react/issues/12600/comments","events_url":"https://api.github.com/repos/facebook/react/issues/12600/events","html_url":"https://github.com/facebook/react/pull/12600","id":313087680,"number":12600,"title":"[WIP] Decouple update queue from Fiber type","user":{"login":"acdlite","id":3624098,"avatar_url":"https://avatars0.githubusercontent.com/u/3624098?v=4","gravatar_id":"","url":"https://api.github.com/users/acdlite","html_url":"https://github.com/acdlite","followers_url":"https://api.github.com/users/acdlite/followers","following_url":"https://api.github.com/users/acdlite/following{/other_user}","gists_url":"https://api.github.com/users/acdlite/gists{/gist_id}","starred_url":"https://api.github.com/users/acdlite/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/acdlite/subscriptions","organizations_url":"https://api.github.com/users/acdlite/orgs","repos_url":"https://api.github.com/users/acdlite/repos","events_url":"https://api.github.com/users/acdlite/events{/privacy}","received_events_url":"https://api.github.com/users/acdlite/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":4,"created_at":"2018-04-10T21:01:12Z","updated_at":"2018-04-10T22:07:19Z","closed_at":null,"author_association":"MEMBER","pull_request":{"url":"https://api.github.com/repos/facebook/react/pulls/12600","html_url":"https://github.com/facebook/react/pull/12600","diff_url":"https://github.com/facebook/react/pull/12600.diff","patch_url":"https://github.com/facebook/react/pull/12600.patch"},"body":"The update queue is in need of a refactor. Recent bugfixes (#12528) have exposed some flaws in how it's modeled. Upcoming features like Suspense and [redacted] also rely on the update queue in ways that weren't anticipated in the original design.\r\n\r\nMajor changes:\r\n\r\n- Instead of boolean flags for `isReplace` and `isForceUpdate`, updates have a `tag` field (like Fiber). This lowers the cost for adding new types of updates.\r\n- Render phase updates are special cased. Updates scheduled during the render phase are dropped if the work-in-progress does not commit. This is used for `getDerivedStateFrom{Props,Catch}`.\r\n- `callbackList` has been replaced with a generic effect list. Aside from callbacks, this is also used for `componentDidCatch`.\r\n\r\nTODO:\r\n\r\n- [x] Class components\r\n- [ ] Host roots\r\n- [ ] Fix Flow"},"comment":{"url":"https://api.github.com/repos/facebook/react/issues/comments/380263067","html_url":"https://github.com/facebook/react/pull/12600#issuecomment-380263067","issue_url":"https://api.github.com/repos/facebook/react/issues/12600","id":380263067,"user":{"login":"acdlite","id":3624098,"avatar_url":"https://avatars0.githubusercontent.com/u/3624098?v=4","gravatar_id":"","url":"https://api.github.com/users/acdlite","html_url":"https://github.com/acdlite","followers_url":"https://api.github.com/users/acdlite/followers","following_url":"https://api.github.com/users/acdlite/following{/other_user}","gists_url":"https://api.github.com/users/acdlite/gists{/gist_id}","starred_url":"https://api.github.com/users/acdlite/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/acdlite/subscriptions","organizations_url":"https://api.github.com/users/acdlite/orgs","repos_url":"https://api.github.com/users/acdlite/repos","events_url":"https://api.github.com/users/acdlite/events{/privacy}","received_events_url":"https://api.github.com/users/acdlite/received_events","type":"User","site_admin":false},"created_at":"2018-04-10T22:07:19Z","updated_at":"2018-04-10T22:07:19Z","author_association":"MEMBER","body":"Note: the bundle size changes are mostly because I haven't deleted the old update queue yet :D"}}
{"actor":{"display_login":"acdlite"}}