{"action":"closed","number":88,"pull_request":{"url":"https://api.github.com/repos/facebook/componentkit/pulls/88","id":32926235,"html_url":"https://github.com/facebook/componentkit/pull/88","diff_url":"https://github.com/facebook/componentkit/pull/88.diff","patch_url":"https://github.com/facebook/componentkit/pull/88.patch","issue_url":"https://api.github.com/repos/facebook/componentkit/issues/88","number":88,"state":"closed","locked":false,"title":"Add pure -layoutForModel: method to CKComponentLifecycleManager","user":{"login":"kastiglione","id":43429,"avatar_url":"https://avatars.githubusercontent.com/u/43429?v=3","gravatar_id":"","url":"https://api.github.com/users/kastiglione","html_url":"https://github.com/kastiglione","followers_url":"https://api.github.com/users/kastiglione/followers","following_url":"https://api.github.com/users/kastiglione/following{/other_user}","gists_url":"https://api.github.com/users/kastiglione/gists{/gist_id}","starred_url":"https://api.github.com/users/kastiglione/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kastiglione/subscriptions","organizations_url":"https://api.github.com/users/kastiglione/orgs","repos_url":"https://api.github.com/users/kastiglione/repos","events_url":"https://api.github.com/users/kastiglione/events{/privacy}","received_events_url":"https://api.github.com/users/kastiglione/received_events","type":"User","site_admin":false},"body":"Currently, calling `-sizeThatFits:` on a `CKComponentHostingView` will break component state. This is because `-sizeThatFits:` calls `-prepareForUpdateWithModel:`, which [modifies an internal state \"cache\"](https://github.com/facebook/componentkit/blob/b74ebfb788216103711f19247895e83f8206e7c5/ComponentKit/Core/CKComponentLifecycleManager.mm#L97).\r\n\r\nThis pull request adds a pure layout method on `CKComponentLifecycleManager`, which can be called any number of times without side effects.","created_at":"2015-04-09T05:29:52Z","updated_at":"2015-04-09T16:33:45Z","closed_at":"2015-04-09T16:33:45Z","merged_at":"2015-04-09T16:33:45Z","merge_commit_sha":"3d8cc5e8b0c4c0bde283bb1c2773023f0a039daa","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/facebook/componentkit/pulls/88/commits","review_comments_url":"https://api.github.com/repos/facebook/componentkit/pulls/88/comments","review_comment_url":"https://api.github.com/repos/facebook/componentkit/pulls/comments{/number}","comments_url":"https://api.github.com/repos/facebook/componentkit/issues/88/comments","statuses_url":"https://api.github.com/repos/facebook/componentkit/statuses/c3d259c92d204de8f47d7006d18fbaa13653b6da","head":{"label":"kastiglione:hosting-view-pure-size","ref":"hosting-view-pure-size","sha":"c3d259c92d204de8f47d7006d18fbaa13653b6da","user":{"login":"kastiglione","id":43429,"avatar_url":"https://avatars.githubusercontent.com/u/43429?v=3","gravatar_id":"","url":"https://api.github.com/users/kastiglione","html_url":"https://github.com/kastiglione","followers_url":"https://api.github.com/users/kastiglione/followers","following_url":"https://api.github.com/users/kastiglione/following{/other_user}","gists_url":"https://api.github.com/users/kastiglione/gists{/gist_id}","starred_url":"https://api.github.com/users/kastiglione/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kastiglione/subscriptions","organizations_url":"https://api.github.com/users/kastiglione/orgs","repos_url":"https://api.github.com/users/kastiglione/repos","events_url":"https://api.github.com/users/kastiglione/events{/privacy}","received_events_url":"https://api.github.com/users/kastiglione/received_events","type":"User","site_admin":false},"repo":{"id":33086822,"name":"componentkit","full_name":"kastiglione/componentkit","owner":{"login":"kastiglione","id":43429,"avatar_url":"https://avatars.githubusercontent.com/u/43429?v=3","gravatar_id":"","url":"https://api.github.com/users/kastiglione","html_url":"https://github.com/kastiglione","followers_url":"https://api.github.com/users/kastiglione/followers","following_url":"https://api.github.com/users/kastiglione/following{/other_user}","gists_url":"https://api.github.com/users/kastiglione/gists{/gist_id}","starred_url":"https://api.github.com/users/kastiglione/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kastiglione/subscriptions","organizations_url":"https://api.github.com/users/kastiglione/orgs","repos_url":"https://api.github.com/users/kastiglione/repos","events_url":"https://api.github.com/users/kastiglione/events{/privacy}","received_events_url":"https://api.github.com/users/kastiglione/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/kastiglione/componentkit","description":"A React-inspired view framework for iOS.","fork":true,"url":"https://api.github.com/repos/kastiglione/componentkit","forks_url":"https://api.github.com/repos/kastiglione/componentkit/forks","keys_url":"https://api.github.com/repos/kastiglione/componentkit/keys{/key_id}","collaborators_url":"https://api.github.com/repos/kastiglione/componentkit/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/kastiglione/componentkit/teams","hooks_url":"https://api.github.com/repos/kastiglione/componentkit/hooks","issue_events_url":"https://api.github.com/repos/kastiglione/componentkit/issues/events{/number}","events_url":"https://api.github.com/repos/kastiglione/componentkit/events","assignees_url":"https://api.github.com/repos/kastiglione/componentkit/assignees{/user}","branches_url":"https://api.github.com/repos/kastiglione/componentkit/branches{/branch}","tags_url":"https://api.github.com/repos/kastiglione/componentkit/tags","blobs_url":"https://api.github.com/repos/kastiglione/componentkit/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/kastiglione/componentkit/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/kastiglione/componentkit/git/refs{/sha}","trees_url":"https://api.github.com/repos/kastiglione/componentkit/git/trees{/sha}","statuses_url":"https://api.github.com/repos/kastiglione/componentkit/statuses/{sha}","languages_url":"https://api.github.com/repos/kastiglione/componentkit/languages","stargazers_url":"https://api.github.com/repos/kastiglione/componentkit/stargazers","contributors_url":"https://api.github.com/repos/kastiglione/componentkit/contributors","subscribers_url":"https://api.github.com/repos/kastiglione/componentkit/subscribers","subscription_url":"https://api.github.com/repos/kastiglione/componentkit/subscription","commits_url":"https://api.github.com/repos/kastiglione/componentkit/commits{/sha}","git_commits_url":"https://api.github.com/repos/kastiglione/componentkit/git/commits{/sha}","comments_url":"https://api.github.com/repos/kastiglione/componentkit/comments{/number}","issue_comment_url":"https://api.github.com/repos/kastiglione/componentkit/issues/comments{/number}","contents_url":"https://api.github.com/repos/kastiglione/componentkit/contents/{+path}","compare_url":"https://api.github.com/repos/kastiglione/componentkit/compare/{base}...{head}","merges_url":"https://api.github.com/repos/kastiglione/componentkit/merges","archive_url":"https://api.github.com/repos/kastiglione/componentkit/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/kastiglione/componentkit/downloads","issues_url":"https://api.github.com/repos/kastiglione/componentkit/issues{/number}","pulls_url":"https://api.github.com/repos/kastiglione/componentkit/pulls{/number}","milestones_url":"https://api.github.com/repos/kastiglione/componentkit/milestones{/number}","notifications_url":"https://api.github.com/repos/kastiglione/componentkit/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/kastiglione/componentkit/labels{/name}","releases_url":"https://api.github.com/repos/kastiglione/componentkit/releases{/id}","created_at":"2015-03-29T19:53:12Z","updated_at":"2015-04-07T16:56:06Z","pushed_at":"2015-04-09T05:24:03Z","git_url":"git://github.com/kastiglione/componentkit.git","ssh_url":"git@github.com:kastiglione/componentkit.git","clone_url":"https://github.com/kastiglione/componentkit.git","svn_url":"https://github.com/kastiglione/componentkit","homepage":"http://www.componentkit.org/","size":7565,"stargazers_count":0,"watchers_count":0,"language":"Objective-C++","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"facebook:master","ref":"master","sha":"b74ebfb788216103711f19247895e83f8206e7c5","user":{"login":"facebook","id":69631,"avatar_url":"https://avatars.githubusercontent.com/u/69631?v=3","gravatar_id":"","url":"https://api.github.com/users/facebook","html_url":"https://github.com/facebook","followers_url":"https://api.github.com/users/facebook/followers","following_url":"https://api.github.com/users/facebook/following{/other_user}","gists_url":"https://api.github.com/users/facebook/gists{/gist_id}","starred_url":"https://api.github.com/users/facebook/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/facebook/subscriptions","organizations_url":"https://api.github.com/users/facebook/orgs","repos_url":"https://api.github.com/users/facebook/repos","events_url":"https://api.github.com/users/facebook/events{/privacy}","received_events_url":"https://api.github.com/users/facebook/received_events","type":"Organization","site_admin":false},"repo":{"id":32600951,"name":"componentkit","full_name":"facebook/componentkit","owner":{"login":"facebook","id":69631,"avatar_url":"https://avatars.githubusercontent.com/u/69631?v=3","gravatar_id":"","url":"https://api.github.com/users/facebook","html_url":"https://github.com/facebook","followers_url":"https://api.github.com/users/facebook/followers","following_url":"https://api.github.com/users/facebook/following{/other_user}","gists_url":"https://api.github.com/users/facebook/gists{/gist_id}","starred_url":"https://api.github.com/users/facebook/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/facebook/subscriptions","organizations_url":"https://api.github.com/users/facebook/orgs","repos_url":"https://api.github.com/users/facebook/repos","events_url":"https://api.github.com/users/facebook/events{/privacy}","received_events_url":"https://api.github.com/users/facebook/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/facebook/componentkit","description":"A React-inspired view framework for iOS.","fork":false,"url":"https://api.github.com/repos/facebook/componentkit","forks_url":"https://api.github.com/repos/facebook/componentkit/forks","keys_url":"https://api.github.com/repos/facebook/componentkit/keys{/key_id}","collaborators_url":"https://api.github.com/repos/facebook/componentkit/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/facebook/componentkit/teams","hooks_url":"https://api.github.com/repos/facebook/componentkit/hooks","issue_events_url":"https://api.github.com/repos/facebook/componentkit/issues/events{/number}","events_url":"https://api.github.com/repos/facebook/componentkit/events","assignees_url":"https://api.github.com/repos/facebook/componentkit/assignees{/user}","branches_url":"https://api.github.com/repos/facebook/componentkit/branches{/branch}","tags_url":"https://api.github.com/repos/facebook/componentkit/tags","blobs_url":"https://api.github.com/repos/facebook/componentkit/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/facebook/componentkit/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/facebook/componentkit/git/refs{/sha}","trees_url":"https://api.github.com/repos/facebook/componentkit/git/trees{/sha}","statuses_url":"https://api.github.com/repos/facebook/componentkit/statuses/{sha}","languages_url":"https://api.github.com/repos/facebook/componentkit/languages","stargazers_url":"https://api.github.com/repos/facebook/componentkit/stargazers","contributors_url":"https://api.github.com/repos/facebook/componentkit/contributors","subscribers_url":"https://api.github.com/repos/facebook/componentkit/subscribers","subscription_url":"https://api.github.com/repos/facebook/componentkit/subscription","commits_url":"https://api.github.com/repos/facebook/componentkit/commits{/sha}","git_commits_url":"https://api.github.com/repos/facebook/componentkit/git/commits{/sha}","comments_url":"https://api.github.com/repos/facebook/componentkit/comments{/number}","issue_comment_url":"https://api.github.com/repos/facebook/componentkit/issues/comments{/number}","contents_url":"https://api.github.com/repos/facebook/componentkit/contents/{+path}","compare_url":"https://api.github.com/repos/facebook/componentkit/compare/{base}...{head}","merges_url":"https://api.github.com/repos/facebook/componentkit/merges","archive_url":"https://api.github.com/repos/facebook/componentkit/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/facebook/componentkit/downloads","issues_url":"https://api.github.com/repos/facebook/componentkit/issues{/number}","pulls_url":"https://api.github.com/repos/facebook/componentkit/pulls{/number}","milestones_url":"https://api.github.com/repos/facebook/componentkit/milestones{/number}","notifications_url":"https://api.github.com/repos/facebook/componentkit/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/facebook/componentkit/labels{/name}","releases_url":"https://api.github.com/repos/facebook/componentkit/releases{/id}","created_at":"2015-03-20T18:42:47Z","updated_at":"2015-04-09T12:11:50Z","pushed_at":"2015-04-09T16:33:45Z","git_url":"git://github.com/facebook/componentkit.git","ssh_url":"git@github.com:facebook/componentkit.git","clone_url":"https://github.com/facebook/componentkit.git","svn_url":"https://github.com/facebook/componentkit","homepage":"http://www.componentkit.org/","size":8633,"stargazers_count":1749,"watchers_count":1749,"language":"Objective-C++","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":101,"mirror_url":null,"open_issues_count":18,"forks":101,"open_issues":18,"watchers":1749,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/facebook/componentkit/pulls/88"},"html":{"href":"https://github.com/facebook/componentkit/pull/88"},"issue":{"href":"https://api.github.com/repos/facebook/componentkit/issues/88"},"comments":{"href":"https://api.github.com/repos/facebook/componentkit/issues/88/comments"},"review_comments":{"href":"https://api.github.com/repos/facebook/componentkit/pulls/88/comments"},"review_comment":{"href":"https://api.github.com/repos/facebook/componentkit/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/facebook/componentkit/pulls/88/commits"},"statuses":{"href":"https://api.github.com/repos/facebook/componentkit/statuses/c3d259c92d204de8f47d7006d18fbaa13653b6da"}},"merged":true,"mergeable":null,"mergeable_state":"unknown","merged_by":{"login":"benlodotcom","id":313959,"avatar_url":"https://avatars.githubusercontent.com/u/313959?v=3","gravatar_id":"","url":"https://api.github.com/users/benlodotcom","html_url":"https://github.com/benlodotcom","followers_url":"https://api.github.com/users/benlodotcom/followers","following_url":"https://api.github.com/users/benlodotcom/following{/other_user}","gists_url":"https://api.github.com/users/benlodotcom/gists{/gist_id}","starred_url":"https://api.github.com/users/benlodotcom/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/benlodotcom/subscriptions","organizations_url":"https://api.github.com/users/benlodotcom/orgs","repos_url":"https://api.github.com/users/benlodotcom/repos","events_url":"https://api.github.com/users/benlodotcom/events{/privacy}","received_events_url":"https://api.github.com/users/benlodotcom/received_events","type":"User","site_admin":false},"comments":0,"review_comments":0,"commits":1,"additions":13,"deletions":2,"changed_files":3}}