{"action":"created","issue":{"url":"https://api.github.com/repos/facebook/react/issues/5412","labels_url":"https://api.github.com/repos/facebook/react/issues/5412/labels{/name}","comments_url":"https://api.github.com/repos/facebook/react/issues/5412/comments","events_url":"https://api.github.com/repos/facebook/react/issues/5412/events","html_url":"https://github.com/facebook/react/pull/5412","id":115547703,"number":5412,"title":"Document nextContext in shouldComponentUpdate","user":{"login":"yangshun","id":1315101,"avatar_url":"https://avatars.githubusercontent.com/u/1315101?v=3","gravatar_id":"","url":"https://api.github.com/users/yangshun","html_url":"https://github.com/yangshun","followers_url":"https://api.github.com/users/yangshun/followers","following_url":"https://api.github.com/users/yangshun/following{/other_user}","gists_url":"https://api.github.com/users/yangshun/gists{/gist_id}","starred_url":"https://api.github.com/users/yangshun/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yangshun/subscriptions","organizations_url":"https://api.github.com/users/yangshun/orgs","repos_url":"https://api.github.com/users/yangshun/repos","events_url":"https://api.github.com/users/yangshun/events{/privacy}","received_events_url":"https://api.github.com/users/yangshun/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"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-11-06T17:08:39Z","updated_at":"2015-11-06T17:23:08Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/facebook/react/pulls/5412","html_url":"https://github.com/facebook/react/pull/5412","diff_url":"https://github.com/facebook/react/pull/5412.diff","patch_url":"https://github.com/facebook/react/pull/5412.patch"},"body":"I realized that `shouldComponentUpdate` accepts a third argument `nextContext` if `contextTypes` is defined, but I think that isn't documented in https://facebook.github.io/react/docs/component-specs.html. \r\n\r\nThis PR adds it in:\r\n\r\n![screen shot 2015-11-07 at 1 07 28 am](https://cloud.githubusercontent.com/assets/1315101/11003183/f5877e48-84eb-11e5-9810-bcfc846ab413.png)"},"comment":{"url":"https://api.github.com/repos/facebook/react/issues/comments/154477986","html_url":"https://github.com/facebook/react/pull/5412#issuecomment-154477986","issue_url":"https://api.github.com/repos/facebook/react/issues/5412","id":154477986,"user":{"login":"yangshun","id":1315101,"avatar_url":"https://avatars.githubusercontent.com/u/1315101?v=3","gravatar_id":"","url":"https://api.github.com/users/yangshun","html_url":"https://github.com/yangshun","followers_url":"https://api.github.com/users/yangshun/followers","following_url":"https://api.github.com/users/yangshun/following{/other_user}","gists_url":"https://api.github.com/users/yangshun/gists{/gist_id}","starred_url":"https://api.github.com/users/yangshun/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yangshun/subscriptions","organizations_url":"https://api.github.com/users/yangshun/orgs","repos_url":"https://api.github.com/users/yangshun/repos","events_url":"https://api.github.com/users/yangshun/events{/privacy}","received_events_url":"https://api.github.com/users/yangshun/received_events","type":"User","site_admin":false},"created_at":"2015-11-06T17:23:07Z","updated_at":"2015-11-06T17:23:07Z","body":"Sure I can do both together (:"}}