{"action":"created","comment":{"url":"https://api.github.com/repos/styled-components/styled-components/pulls/comments/212378160","pull_request_review_id":148997869,"id":212378160,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDIxMjM3ODE2MA==","diff_hunk":"@@ -0,0 +1,22 @@\n+// @flow\n+import { Component } from 'react'\n+\n+const cachedResults = new Map()\n+\n+export default function isDerivedReactComponent(fn: any) {","path":"src/utils/isDerivedReactComponent.js","position":6,"original_position":6,"commit_id":"26391920f32aeee5f7e397f48b69c93969a9fbdf","original_commit_id":"26391920f32aeee5f7e397f48b69c93969a9fbdf","user":{"login":"gaearon","id":810438,"node_id":"MDQ6VXNlcjgxMDQzOA==","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},"body":"You probably also won't want to cache it because I'd expect two property lookups to be faster than what this is doing","created_at":"2018-08-23T16:39:16Z","updated_at":"2018-08-23T16:39:16Z","html_url":"https://github.com/styled-components/styled-components/pull/1923#discussion_r212378160","pull_request_url":"https://api.github.com/repos/styled-components/styled-components/pulls/1923","author_association":"MEMBER","_links":{"self":{"href":"https://api.github.com/repos/styled-components/styled-components/pulls/comments/212378160"},"html":{"href":"https://github.com/styled-components/styled-components/pull/1923#discussion_r212378160"},"pull_request":{"href":"https://api.github.com/repos/styled-components/styled-components/pulls/1923"}},"in_reply_to_id":212376608},"pull_request":{"url":"https://api.github.com/repos/styled-components/styled-components/pulls/1923","id":208748466,"node_id":"MDExOlB1bGxSZXF1ZXN0MjA4NzQ4NDY2","html_url":"https://github.com/styled-components/styled-components/pull/1923","diff_url":"https://github.com/styled-components/styled-components/pull/1923.diff","patch_url":"https://github.com/styled-components/styled-components/pull/1923.patch","issue_url":"https://api.github.com/repos/styled-components/styled-components/issues/1923","number":1923,"state":"closed","locked":false,"title":"use React.forwardRef","user":{"login":"probablyup","id":570070,"node_id":"MDQ6VXNlcjU3MDA3MA==","avatar_url":"https://avatars2.githubusercontent.com/u/570070?v=4","gravatar_id":"","url":"https://api.github.com/users/probablyup","html_url":"https://github.com/probablyup","followers_url":"https://api.github.com/users/probablyup/followers","following_url":"https://api.github.com/users/probablyup/following{/other_user}","gists_url":"https://api.github.com/users/probablyup/gists{/gist_id}","starred_url":"https://api.github.com/users/probablyup/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/probablyup/subscriptions","organizations_url":"https://api.github.com/users/probablyup/orgs","repos_url":"https://api.github.com/users/probablyup/repos","events_url":"https://api.github.com/users/probablyup/events{/privacy}","received_events_url":"https://api.github.com/users/probablyup/received_events","type":"User","site_admin":false},"body":"~~This probably doesn't work yet, but I'm waiting for an enzyme adapter release so I can actually test the functionality.~~","created_at":"2018-08-16T05:24:34Z","updated_at":"2018-08-23T16:39:16Z","closed_at":"2018-08-23T16:27:16Z","merged_at":"2018-08-23T16:27:16Z","merge_commit_sha":"3b440012aaba8ab587fdb62bd811df666b009a91","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/styled-components/styled-components/pulls/1923/commits","review_comments_url":"https://api.github.com/repos/styled-components/styled-components/pulls/1923/comments","review_comment_url":"https://api.github.com/repos/styled-components/styled-components/pulls/comments{/number}","comments_url":"https://api.github.com/repos/styled-components/styled-components/issues/1923/comments","statuses_url":"https://api.github.com/repos/styled-components/styled-components/statuses/26391920f32aeee5f7e397f48b69c93969a9fbdf","head":{"label":"styled-components:forwardRef","ref":"forwardRef","sha":"26391920f32aeee5f7e397f48b69c93969a9fbdf","user":{"login":"styled-components","id":20658825,"node_id":"MDEyOk9yZ2FuaXphdGlvbjIwNjU4ODI1","avatar_url":"https://avatars2.githubusercontent.com/u/20658825?v=4","gravatar_id":"","url":"https://api.github.com/users/styled-components","html_url":"https://github.com/styled-components","followers_url":"https://api.github.com/users/styled-components/followers","following_url":"https://api.github.com/users/styled-components/following{/other_user}","gists_url":"https://api.github.com/users/styled-components/gists{/gist_id}","starred_url":"https://api.github.com/users/styled-components/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/styled-components/subscriptions","organizations_url":"https://api.github.com/users/styled-components/orgs","repos_url":"https://api.github.com/users/styled-components/repos","events_url":"https://api.github.com/users/styled-components/events{/privacy}","received_events_url":"https://api.github.com/users/styled-components/received_events","type":"Organization","site_admin":false},"repo":{"id":65794292,"node_id":"MDEwOlJlcG9zaXRvcnk2NTc5NDI5Mg==","name":"styled-components","full_name":"styled-components/styled-components","owner":{"login":"styled-components","id":20658825,"node_id":"MDEyOk9yZ2FuaXphdGlvbjIwNjU4ODI1","avatar_url":"https://avatars2.githubusercontent.com/u/20658825?v=4","gravatar_id":"","url":"https://api.github.com/users/styled-components","html_url":"https://github.com/styled-components","followers_url":"https://api.github.com/users/styled-components/followers","following_url":"https://api.github.com/users/styled-components/following{/other_user}","gists_url":"https://api.github.com/users/styled-components/gists{/gist_id}","starred_url":"https://api.github.com/users/styled-components/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/styled-components/subscriptions","organizations_url":"https://api.github.com/users/styled-components/orgs","repos_url":"https://api.github.com/users/styled-components/repos","events_url":"https://api.github.com/users/styled-components/events{/privacy}","received_events_url":"https://api.github.com/users/styled-components/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/styled-components/styled-components","description":"Visual primitives for the component age. Use the best bits of ES6 and CSS to style your apps without stress 💅","fork":false,"url":"https://api.github.com/repos/styled-components/styled-components","forks_url":"https://api.github.com/repos/styled-components/styled-components/forks","keys_url":"https://api.github.com/repos/styled-components/styled-components/keys{/key_id}","collaborators_url":"https://api.github.com/repos/styled-components/styled-components/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/styled-components/styled-components/teams","hooks_url":"https://api.github.com/repos/styled-components/styled-components/hooks","issue_events_url":"https://api.github.com/repos/styled-components/styled-components/issues/events{/number}","events_url":"https://api.github.com/repos/styled-components/styled-components/events","assignees_url":"https://api.github.com/repos/styled-components/styled-components/assignees{/user}","branches_url":"https://api.github.com/repos/styled-components/styled-components/branches{/branch}","tags_url":"https://api.github.com/repos/styled-components/styled-components/tags","blobs_url":"https://api.github.com/repos/styled-components/styled-components/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/styled-components/styled-components/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/styled-components/styled-components/git/refs{/sha}","trees_url":"https://api.github.com/repos/styled-components/styled-components/git/trees{/sha}","statuses_url":"https://api.github.com/repos/styled-components/styled-components/statuses/{sha}","languages_url":"https://api.github.com/repos/styled-components/styled-components/languages","stargazers_url":"https://api.github.com/repos/styled-components/styled-components/stargazers","contributors_url":"https://api.github.com/repos/styled-components/styled-components/contributors","subscribers_url":"https://api.github.com/repos/styled-components/styled-components/subscribers","subscription_url":"https://api.github.com/repos/styled-components/styled-components/subscription","commits_url":"https://api.github.com/repos/styled-components/styled-components/commits{/sha}","git_commits_url":"https://api.github.com/repos/styled-components/styled-components/git/commits{/sha}","comments_url":"https://api.github.com/repos/styled-components/styled-components/comments{/number}","issue_comment_url":"https://api.github.com/repos/styled-components/styled-components/issues/comments{/number}","contents_url":"https://api.github.com/repos/styled-components/styled-components/contents/{+path}","compare_url":"https://api.github.com/repos/styled-components/styled-components/compare/{base}...{head}","merges_url":"https://api.github.com/repos/styled-components/styled-components/merges","archive_url":"https://api.github.com/repos/styled-components/styled-components/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/styled-components/styled-components/downloads","issues_url":"https://api.github.com/repos/styled-components/styled-components/issues{/number}","pulls_url":"https://api.github.com/repos/styled-components/styled-components/pulls{/number}","milestones_url":"https://api.github.com/repos/styled-components/styled-components/milestones{/number}","notifications_url":"https://api.github.com/repos/styled-components/styled-components/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/styled-components/styled-components/labels{/name}","releases_url":"https://api.github.com/repos/styled-components/styled-components/releases{/id}","deployments_url":"https://api.github.com/repos/styled-components/styled-components/deployments","created_at":"2016-08-16T06:41:32Z","updated_at":"2018-08-23T16:19:52Z","pushed_at":"2018-08-23T16:27:18Z","git_url":"git://github.com/styled-components/styled-components.git","ssh_url":"git@github.com:styled-components/styled-components.git","clone_url":"https://github.com/styled-components/styled-components.git","svn_url":"https://github.com/styled-components/styled-components","homepage":"https://styled-components.com","size":4740,"stargazers_count":18534,"watchers_count":18534,"language":"JavaScript","has_issues":true,"has_projects":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":1090,"mirror_url":null,"archived":false,"open_issues_count":100,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit","node_id":"MDc6TGljZW5zZTEz"},"forks":1090,"open_issues":100,"watchers":18534,"default_branch":"master"}},"base":{"label":"styled-components:develop","ref":"develop","sha":"3d959168a81f92e161e55707fa924681bb90b08d","user":{"login":"styled-components","id":20658825,"node_id":"MDEyOk9yZ2FuaXphdGlvbjIwNjU4ODI1","avatar_url":"https://avatars2.githubusercontent.com/u/20658825?v=4","gravatar_id":"","url":"https://api.github.com/users/styled-components","html_url":"https://github.com/styled-components","followers_url":"https://api.github.com/users/styled-components/followers","following_url":"https://api.github.com/users/styled-components/following{/other_user}","gists_url":"https://api.github.com/users/styled-components/gists{/gist_id}","starred_url":"https://api.github.com/users/styled-components/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/styled-components/subscriptions","organizations_url":"https://api.github.com/users/styled-components/orgs","repos_url":"https://api.github.com/users/styled-components/repos","events_url":"https://api.github.com/users/styled-components/events{/privacy}","received_events_url":"https://api.github.com/users/styled-components/received_events","type":"Organization","site_admin":false},"repo":{"id":65794292,"node_id":"MDEwOlJlcG9zaXRvcnk2NTc5NDI5Mg==","name":"styled-components","full_name":"styled-components/styled-components","owner":{"login":"styled-components","id":20658825,"node_id":"MDEyOk9yZ2FuaXphdGlvbjIwNjU4ODI1","avatar_url":"https://avatars2.githubusercontent.com/u/20658825?v=4","gravatar_id":"","url":"https://api.github.com/users/styled-components","html_url":"https://github.com/styled-components","followers_url":"https://api.github.com/users/styled-components/followers","following_url":"https://api.github.com/users/styled-components/following{/other_user}","gists_url":"https://api.github.com/users/styled-components/gists{/gist_id}","starred_url":"https://api.github.com/users/styled-components/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/styled-components/subscriptions","organizations_url":"https://api.github.com/users/styled-components/orgs","repos_url":"https://api.github.com/users/styled-components/repos","events_url":"https://api.github.com/users/styled-components/events{/privacy}","received_events_url":"https://api.github.com/users/styled-components/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/styled-components/styled-components","description":"Visual primitives for the component age. Use the best bits of ES6 and CSS to style your apps without stress 💅","fork":false,"url":"https://api.github.com/repos/styled-components/styled-components","forks_url":"https://api.github.com/repos/styled-components/styled-components/forks","keys_url":"https://api.github.com/repos/styled-components/styled-components/keys{/key_id}","collaborators_url":"https://api.github.com/repos/styled-components/styled-components/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/styled-components/styled-components/teams","hooks_url":"https://api.github.com/repos/styled-components/styled-components/hooks","issue_events_url":"https://api.github.com/repos/styled-components/styled-components/issues/events{/number}","events_url":"https://api.github.com/repos/styled-components/styled-components/events","assignees_url":"https://api.github.com/repos/styled-components/styled-components/assignees{/user}","branches_url":"https://api.github.com/repos/styled-components/styled-components/branches{/branch}","tags_url":"https://api.github.com/repos/styled-components/styled-components/tags","blobs_url":"https://api.github.com/repos/styled-components/styled-components/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/styled-components/styled-components/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/styled-components/styled-components/git/refs{/sha}","trees_url":"https://api.github.com/repos/styled-components/styled-components/git/trees{/sha}","statuses_url":"https://api.github.com/repos/styled-components/styled-components/statuses/{sha}","languages_url":"https://api.github.com/repos/styled-components/styled-components/languages","stargazers_url":"https://api.github.com/repos/styled-components/styled-components/stargazers","contributors_url":"https://api.github.com/repos/styled-components/styled-components/contributors","subscribers_url":"https://api.github.com/repos/styled-components/styled-components/subscribers","subscription_url":"https://api.github.com/repos/styled-components/styled-components/subscription","commits_url":"https://api.github.com/repos/styled-components/styled-components/commits{/sha}","git_commits_url":"https://api.github.com/repos/styled-components/styled-components/git/commits{/sha}","comments_url":"https://api.github.com/repos/styled-components/styled-components/comments{/number}","issue_comment_url":"https://api.github.com/repos/styled-components/styled-components/issues/comments{/number}","contents_url":"https://api.github.com/repos/styled-components/styled-components/contents/{+path}","compare_url":"https://api.github.com/repos/styled-components/styled-components/compare/{base}...{head}","merges_url":"https://api.github.com/repos/styled-components/styled-components/merges","archive_url":"https://api.github.com/repos/styled-components/styled-components/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/styled-components/styled-components/downloads","issues_url":"https://api.github.com/repos/styled-components/styled-components/issues{/number}","pulls_url":"https://api.github.com/repos/styled-components/styled-components/pulls{/number}","milestones_url":"https://api.github.com/repos/styled-components/styled-components/milestones{/number}","notifications_url":"https://api.github.com/repos/styled-components/styled-components/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/styled-components/styled-components/labels{/name}","releases_url":"https://api.github.com/repos/styled-components/styled-components/releases{/id}","deployments_url":"https://api.github.com/repos/styled-components/styled-components/deployments","created_at":"2016-08-16T06:41:32Z","updated_at":"2018-08-23T16:19:52Z","pushed_at":"2018-08-23T16:27:18Z","git_url":"git://github.com/styled-components/styled-components.git","ssh_url":"git@github.com:styled-components/styled-components.git","clone_url":"https://github.com/styled-components/styled-components.git","svn_url":"https://github.com/styled-components/styled-components","homepage":"https://styled-components.com","size":4740,"stargazers_count":18534,"watchers_count":18534,"language":"JavaScript","has_issues":true,"has_projects":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":1090,"mirror_url":null,"archived":false,"open_issues_count":100,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit","node_id":"MDc6TGljZW5zZTEz"},"forks":1090,"open_issues":100,"watchers":18534,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/styled-components/styled-components/pulls/1923"},"html":{"href":"https://github.com/styled-components/styled-components/pull/1923"},"issue":{"href":"https://api.github.com/repos/styled-components/styled-components/issues/1923"},"comments":{"href":"https://api.github.com/repos/styled-components/styled-components/issues/1923/comments"},"review_comments":{"href":"https://api.github.com/repos/styled-components/styled-components/pulls/1923/comments"},"review_comment":{"href":"https://api.github.com/repos/styled-components/styled-components/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/styled-components/styled-components/pulls/1923/commits"},"statuses":{"href":"https://api.github.com/repos/styled-components/styled-components/statuses/26391920f32aeee5f7e397f48b69c93969a9fbdf"}},"author_association":"CONTRIBUTOR"}}
{"actor":{"display_login":"gaearon"}}