{"action":"created","comment":{"url":"https://api.github.com/repos/facebook/react/pulls/comments/33773067","id":33773067,"diff_hunk":"@@ -47,6 +122,20 @@ function isInternalComponentType(type) {\n }\n \n /**\n+ * Check if the type reference is a stateless function type.\n+ *\n+ * @param {function} type\n+ * @return {boolean} Returns true if this is a stateless function type.\n+ */\n+function isPropablyStatelessComponentType(type) {","path":"src/renderers/shared/reconciler/instantiateReactComponent.js","position":98,"original_position":98,"commit_id":"f821655a1a70df7c36a8c2078bf2c6c46f6109d3","original_commit_id":"f821655a1a70df7c36a8c2078bf2c6c46f6109d3","user":{"login":"JoeStanton","id":1161508,"avatar_url":"https://avatars.githubusercontent.com/u/1161508?v=3","gravatar_id":"","url":"https://api.github.com/users/JoeStanton","html_url":"https://github.com/JoeStanton","followers_url":"https://api.github.com/users/JoeStanton/followers","following_url":"https://api.github.com/users/JoeStanton/following{/other_user}","gists_url":"https://api.github.com/users/JoeStanton/gists{/gist_id}","starred_url":"https://api.github.com/users/JoeStanton/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/JoeStanton/subscriptions","organizations_url":"https://api.github.com/users/JoeStanton/orgs","repos_url":"https://api.github.com/users/JoeStanton/repos","events_url":"https://api.github.com/users/JoeStanton/events{/privacy}","received_events_url":"https://api.github.com/users/JoeStanton/received_events","type":"User","site_admin":false},"body":"Is this a pun? or a typo? :)","created_at":"2015-07-02T12:39:01Z","updated_at":"2015-07-02T12:39:01Z","html_url":"https://github.com/facebook/react/pull/3995#discussion_r33773067","pull_request_url":"https://api.github.com/repos/facebook/react/pulls/3995","_links":{"self":{"href":"https://api.github.com/repos/facebook/react/pulls/comments/33773067"},"html":{"href":"https://github.com/facebook/react/pull/3995#discussion_r33773067"},"pull_request":{"href":"https://api.github.com/repos/facebook/react/pulls/3995"}}},"pull_request":{"url":"https://api.github.com/repos/facebook/react/pulls/3995","id":36641503,"html_url":"https://github.com/facebook/react/pull/3995","diff_url":"https://github.com/facebook/react/pull/3995.diff","patch_url":"https://github.com/facebook/react/pull/3995.patch","issue_url":"https://api.github.com/repos/facebook/react/issues/3995","number":3995,"state":"open","locked":false,"title":"Pure Functions as Stateless Components","user":{"login":"vslinko","id":205823,"avatar_url":"https://avatars.githubusercontent.com/u/205823?v=3","gravatar_id":"","url":"https://api.github.com/users/vslinko","html_url":"https://github.com/vslinko","followers_url":"https://api.github.com/users/vslinko/followers","following_url":"https://api.github.com/users/vslinko/following{/other_user}","gists_url":"https://api.github.com/users/vslinko/gists{/gist_id}","starred_url":"https://api.github.com/users/vslinko/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vslinko/subscriptions","organizations_url":"https://api.github.com/users/vslinko/orgs","repos_url":"https://api.github.com/users/vslinko/repos","events_url":"https://api.github.com/users/vslinko/events{/privacy}","received_events_url":"https://api.github.com/users/vslinko/received_events","type":"User","site_admin":false},"body":"ref #3220","created_at":"2015-06-01T15:42:29Z","updated_at":"2015-07-02T12:39:01Z","closed_at":null,"merged_at":null,"merge_commit_sha":"821a374b81d1a52579030c35252ad177f3eaf017","assignee":null,"milestone":{"url":"https://api.github.com/repos/facebook/react/milestones/13","html_url":"https://github.com/facebook/react/milestones/0.14","labels_url":"https://api.github.com/repos/facebook/react/milestones/13/labels","id":1035426,"number":13,"title":"0.14","description":null,"creator":{"login":"spicyj","id":6820,"avatar_url":"https://avatars.githubusercontent.com/u/6820?v=3","gravatar_id":"","url":"https://api.github.com/users/spicyj","html_url":"https://github.com/spicyj","followers_url":"https://api.github.com/users/spicyj/followers","following_url":"https://api.github.com/users/spicyj/following{/other_user}","gists_url":"https://api.github.com/users/spicyj/gists{/gist_id}","starred_url":"https://api.github.com/users/spicyj/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/spicyj/subscriptions","organizations_url":"https://api.github.com/users/spicyj/orgs","repos_url":"https://api.github.com/users/spicyj/repos","events_url":"https://api.github.com/users/spicyj/events{/privacy}","received_events_url":"https://api.github.com/users/spicyj/received_events","type":"User","site_admin":false},"open_issues":3,"closed_issues":4,"state":"open","created_at":"2015-03-23T23:33:55Z","updated_at":"2015-07-02T12:18:03Z","due_on":null,"closed_at":null},"commits_url":"https://api.github.com/repos/facebook/react/pulls/3995/commits","review_comments_url":"https://api.github.com/repos/facebook/react/pulls/3995/comments","review_comment_url":"https://api.github.com/repos/facebook/react/pulls/comments{/number}","comments_url":"https://api.github.com/repos/facebook/react/issues/3995/comments","statuses_url":"https://api.github.com/repos/facebook/react/statuses/f821655a1a70df7c36a8c2078bf2c6c46f6109d3","head":{"label":"vslinko-forks:stateless-functions","ref":"stateless-functions","sha":"f821655a1a70df7c36a8c2078bf2c6c46f6109d3","user":{"login":"vslinko-forks","id":7362476,"avatar_url":"https://avatars.githubusercontent.com/u/7362476?v=3","gravatar_id":"","url":"https://api.github.com/users/vslinko-forks","html_url":"https://github.com/vslinko-forks","followers_url":"https://api.github.com/users/vslinko-forks/followers","following_url":"https://api.github.com/users/vslinko-forks/following{/other_user}","gists_url":"https://api.github.com/users/vslinko-forks/gists{/gist_id}","starred_url":"https://api.github.com/users/vslinko-forks/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vslinko-forks/subscriptions","organizations_url":"https://api.github.com/users/vslinko-forks/orgs","repos_url":"https://api.github.com/users/vslinko-forks/repos","events_url":"https://api.github.com/users/vslinko-forks/events{/privacy}","received_events_url":"https://api.github.com/users/vslinko-forks/received_events","type":"Organization","site_admin":false},"repo":{"id":19733559,"name":"react","full_name":"vslinko-forks/react","owner":{"login":"vslinko-forks","id":7362476,"avatar_url":"https://avatars.githubusercontent.com/u/7362476?v=3","gravatar_id":"","url":"https://api.github.com/users/vslinko-forks","html_url":"https://github.com/vslinko-forks","followers_url":"https://api.github.com/users/vslinko-forks/followers","following_url":"https://api.github.com/users/vslinko-forks/following{/other_user}","gists_url":"https://api.github.com/users/vslinko-forks/gists{/gist_id}","starred_url":"https://api.github.com/users/vslinko-forks/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vslinko-forks/subscriptions","organizations_url":"https://api.github.com/users/vslinko-forks/orgs","repos_url":"https://api.github.com/users/vslinko-forks/repos","events_url":"https://api.github.com/users/vslinko-forks/events{/privacy}","received_events_url":"https://api.github.com/users/vslinko-forks/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/vslinko-forks/react","description":"React is a JavaScript library for building user interfaces. It's declarative, efficient, and extremely flexible. What's more, it works with the libraries and frameworks that you already know.","fork":true,"url":"https://api.github.com/repos/vslinko-forks/react","forks_url":"https://api.github.com/repos/vslinko-forks/react/forks","keys_url":"https://api.github.com/repos/vslinko-forks/react/keys{/key_id}","collaborators_url":"https://api.github.com/repos/vslinko-forks/react/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/vslinko-forks/react/teams","hooks_url":"https://api.github.com/repos/vslinko-forks/react/hooks","issue_events_url":"https://api.github.com/repos/vslinko-forks/react/issues/events{/number}","events_url":"https://api.github.com/repos/vslinko-forks/react/events","assignees_url":"https://api.github.com/repos/vslinko-forks/react/assignees{/user}","branches_url":"https://api.github.com/repos/vslinko-forks/react/branches{/branch}","tags_url":"https://api.github.com/repos/vslinko-forks/react/tags","blobs_url":"https://api.github.com/repos/vslinko-forks/react/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/vslinko-forks/react/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/vslinko-forks/react/git/refs{/sha}","trees_url":"https://api.github.com/repos/vslinko-forks/react/git/trees{/sha}","statuses_url":"https://api.github.com/repos/vslinko-forks/react/statuses/{sha}","languages_url":"https://api.github.com/repos/vslinko-forks/react/languages","stargazers_url":"https://api.github.com/repos/vslinko-forks/react/stargazers","contributors_url":"https://api.github.com/repos/vslinko-forks/react/contributors","subscribers_url":"https://api.github.com/repos/vslinko-forks/react/subscribers","subscription_url":"https://api.github.com/repos/vslinko-forks/react/subscription","commits_url":"https://api.github.com/repos/vslinko-forks/react/commits{/sha}","git_commits_url":"https://api.github.com/repos/vslinko-forks/react/git/commits{/sha}","comments_url":"https://api.github.com/repos/vslinko-forks/react/comments{/number}","issue_comment_url":"https://api.github.com/repos/vslinko-forks/react/issues/comments{/number}","contents_url":"https://api.github.com/repos/vslinko-forks/react/contents/{+path}","compare_url":"https://api.github.com/repos/vslinko-forks/react/compare/{base}...{head}","merges_url":"https://api.github.com/repos/vslinko-forks/react/merges","archive_url":"https://api.github.com/repos/vslinko-forks/react/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/vslinko-forks/react/downloads","issues_url":"https://api.github.com/repos/vslinko-forks/react/issues{/number}","pulls_url":"https://api.github.com/repos/vslinko-forks/react/pulls{/number}","milestones_url":"https://api.github.com/repos/vslinko-forks/react/milestones{/number}","notifications_url":"https://api.github.com/repos/vslinko-forks/react/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/vslinko-forks/react/labels{/name}","releases_url":"https://api.github.com/repos/vslinko-forks/react/releases{/id}","created_at":"2014-05-13T09:39:10Z","updated_at":"2015-06-01T15:40:09Z","pushed_at":"2015-06-16T10:13:47Z","git_url":"git://github.com/vslinko-forks/react.git","ssh_url":"git@github.com:vslinko-forks/react.git","clone_url":"https://github.com/vslinko-forks/react.git","svn_url":"https://github.com/vslinko-forks/react","homepage":"http://facebook.github.io/react/","size":47137,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","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":"4c778e2e4b73816d976d4c583cba00acb9ba3308","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":10270250,"name":"react","full_name":"facebook/react","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/react","description":"A declarative, efficient, and flexible JavaScript library for building user interfaces.","fork":false,"url":"https://api.github.com/repos/facebook/react","forks_url":"https://api.github.com/repos/facebook/react/forks","keys_url":"https://api.github.com/repos/facebook/react/keys{/key_id}","collaborators_url":"https://api.github.com/repos/facebook/react/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/facebook/react/teams","hooks_url":"https://api.github.com/repos/facebook/react/hooks","issue_events_url":"https://api.github.com/repos/facebook/react/issues/events{/number}","events_url":"https://api.github.com/repos/facebook/react/events","assignees_url":"https://api.github.com/repos/facebook/react/assignees{/user}","branches_url":"https://api.github.com/repos/facebook/react/branches{/branch}","tags_url":"https://api.github.com/repos/facebook/react/tags","blobs_url":"https://api.github.com/repos/facebook/react/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/facebook/react/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/facebook/react/git/refs{/sha}","trees_url":"https://api.github.com/repos/facebook/react/git/trees{/sha}","statuses_url":"https://api.github.com/repos/facebook/react/statuses/{sha}","languages_url":"https://api.github.com/repos/facebook/react/languages","stargazers_url":"https://api.github.com/repos/facebook/react/stargazers","contributors_url":"https://api.github.com/repos/facebook/react/contributors","subscribers_url":"https://api.github.com/repos/facebook/react/subscribers","subscription_url":"https://api.github.com/repos/facebook/react/subscription","commits_url":"https://api.github.com/repos/facebook/react/commits{/sha}","git_commits_url":"https://api.github.com/repos/facebook/react/git/commits{/sha}","comments_url":"https://api.github.com/repos/facebook/react/comments{/number}","issue_comment_url":"https://api.github.com/repos/facebook/react/issues/comments{/number}","contents_url":"https://api.github.com/repos/facebook/react/contents/{+path}","compare_url":"https://api.github.com/repos/facebook/react/compare/{base}...{head}","merges_url":"https://api.github.com/repos/facebook/react/merges","archive_url":"https://api.github.com/repos/facebook/react/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/facebook/react/downloads","issues_url":"https://api.github.com/repos/facebook/react/issues{/number}","pulls_url":"https://api.github.com/repos/facebook/react/pulls{/number}","milestones_url":"https://api.github.com/repos/facebook/react/milestones{/number}","notifications_url":"https://api.github.com/repos/facebook/react/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/facebook/react/labels{/name}","releases_url":"https://api.github.com/repos/facebook/react/releases{/id}","created_at":"2013-05-24T16:15:54Z","updated_at":"2015-07-02T12:20:06Z","pushed_at":"2015-07-02T11:47:18Z","git_url":"git://github.com/facebook/react.git","ssh_url":"git@github.com:facebook/react.git","clone_url":"https://github.com/facebook/react.git","svn_url":"https://github.com/facebook/react","homepage":"https://facebook.github.io/react/","size":104332,"stargazers_count":24234,"watchers_count":24234,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":3505,"mirror_url":null,"open_issues_count":576,"forks":3505,"open_issues":576,"watchers":24234,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/facebook/react/pulls/3995"},"html":{"href":"https://github.com/facebook/react/pull/3995"},"issue":{"href":"https://api.github.com/repos/facebook/react/issues/3995"},"comments":{"href":"https://api.github.com/repos/facebook/react/issues/3995/comments"},"review_comments":{"href":"https://api.github.com/repos/facebook/react/pulls/3995/comments"},"review_comment":{"href":"https://api.github.com/repos/facebook/react/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/facebook/react/pulls/3995/commits"},"statuses":{"href":"https://api.github.com/repos/facebook/react/statuses/f821655a1a70df7c36a8c2078bf2c6c46f6109d3"}}}}