payload: {"action":"created","comment":{"url":"https://api.github.com/repos/psergeev/react-hw/pulls/comments/267934405","pull_request_review_id":217463115,"id":267934405,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDI2NzkzNDQwNQ==","diff_hunk":"@@ -20,15 +21,28 @@ export default React.memo((props: Props) => {\n         />\n     ));\n \n+    const getResultList = () => {","path":"src/components/BodyWithResults/BodyWithResults.tsx","position":12,"original_position":12,"commit_id":"676be6f8f269ae9f8d581f444349051aac02d410","original_commit_id":"676be6f8f269ae9f8d581f444349051aac02d410","user":{"login":"loginov-rocks","id":8770338,"node_id":"MDQ6VXNlcjg3NzAzMzg=","avatar_url":"https://avatars0.githubusercontent.com/u/8770338?v=4","gravatar_id":"","url":"https://api.github.com/users/loginov-rocks","html_url":"https://github.com/loginov-rocks","followers_url":"https://api.github.com/users/loginov-rocks/followers","following_url":"https://api.github.com/users/loginov-rocks/following{/other_user}","gists_url":"https://api.github.com/users/loginov-rocks/gists{/gist_id}","starred_url":"https://api.github.com/users/loginov-rocks/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/loginov-rocks/subscriptions","organizations_url":"https://api.github.com/users/loginov-rocks/orgs","repos_url":"https://api.github.com/users/loginov-rocks/repos","events_url":"https://api.github.com/users/loginov-rocks/events{/privacy}","received_events_url":"https://api.github.com/users/loginov-rocks/received_events","type":"User","site_admin":false},"body":"Rendering entities names should start from 'render', like 'renderResultList'. There is also no sense in making function here. JSX syntax is just synthetic sugar using `<Component>` as `Component()` under the hood. So you can just take assign your JSX to the var and output it later like `{resultsList}`.","created_at":"2019-03-21T20:03:09Z","updated_at":"2019-03-21T20:16:14Z","html_url":"https://github.com/psergeev/react-hw/pull/3#discussion_r267934405","pull_request_url":"https://api.github.com/repos/psergeev/react-hw/pulls/3","author_association":"COLLABORATOR","_links":{"self":{"href":"https://api.github.com/repos/psergeev/react-hw/pulls/comments/267934405"},"html":{"href":"https://github.com/psergeev/react-hw/pull/3#discussion_r267934405"},"pull_request":{"href":"https://api.github.com/repos/psergeev/react-hw/pulls/3"}}},"pull_request":{"url":"https://api.github.com/repos/psergeev/react-hw/pulls/3","id":262961958,"node_id":"MDExOlB1bGxSZXF1ZXN0MjYyOTYxOTU4","html_url":"https://github.com/psergeev/react-hw/pull/3","diff_url":"https://github.com/psergeev/react-hw/pull/3.diff","patch_url":"https://github.com/psergeev/react-hw/pull/3.patch","issue_url":"https://api.github.com/repos/psergeev/react-hw/issues/3","number":3,"state":"open","locked":false,"title":"home work 5","user":{"login":"psergeev","id":4945609,"node_id":"MDQ6VXNlcjQ5NDU2MDk=","avatar_url":"https://avatars0.githubusercontent.com/u/4945609?v=4","gravatar_id":"","url":"https://api.github.com/users/psergeev","html_url":"https://github.com/psergeev","followers_url":"https://api.github.com/users/psergeev/followers","following_url":"https://api.github.com/users/psergeev/following{/other_user}","gists_url":"https://api.github.com/users/psergeev/gists{/gist_id}","starred_url":"https://api.github.com/users/psergeev/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/psergeev/subscriptions","organizations_url":"https://api.github.com/users/psergeev/orgs","repos_url":"https://api.github.com/users/psergeev/repos","events_url":"https://api.github.com/users/psergeev/events{/privacy}","received_events_url":"https://api.github.com/users/psergeev/received_events","type":"User","site_admin":false},"body":"","created_at":"2019-03-20T17:19:35Z","updated_at":"2019-03-21T20:16:14Z","closed_at":null,"merged_at":null,"merge_commit_sha":"cd3774aeef0e77742862ac85a8be240677f26a74","assignee":{"login":"loginov-rocks","id":8770338,"node_id":"MDQ6VXNlcjg3NzAzMzg=","avatar_url":"https://avatars0.githubusercontent.com/u/8770338?v=4","gravatar_id":"","url":"https://api.github.com/users/loginov-rocks","html_url":"https://github.com/loginov-rocks","followers_url":"https://api.github.com/users/loginov-rocks/followers","following_url":"https://api.github.com/users/loginov-rocks/following{/other_user}","gists_url":"https://api.github.com/users/loginov-rocks/gists{/gist_id}","starred_url":"https://api.github.com/users/loginov-rocks/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/loginov-rocks/subscriptions","organizations_url":"https://api.github.com/users/loginov-rocks/orgs","repos_url":"https://api.github.com/users/loginov-rocks/repos","events_url":"https://api.github.com/users/loginov-rocks/events{/privacy}","received_events_url":"https://api.github.com/users/loginov-rocks/received_events","type":"User","site_admin":false},"assignees":[{"login":"loginov-rocks","id":8770338,"node_id":"MDQ6VXNlcjg3NzAzMzg=","avatar_url":"https://avatars0.githubusercontent.com/u/8770338?v=4","gravatar_id":"","url":"https://api.github.com/users/loginov-rocks","html_url":"https://github.com/loginov-rocks","followers_url":"https://api.github.com/users/loginov-rocks/followers","following_url":"https://api.github.com/users/loginov-rocks/following{/other_user}","gists_url":"https://api.github.com/users/loginov-rocks/gists{/gist_id}","starred_url":"https://api.github.com/users/loginov-rocks/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/loginov-rocks/subscriptions","organizations_url":"https://api.github.com/users/loginov-rocks/orgs","repos_url":"https://api.github.com/users/loginov-rocks/repos","events_url":"https://api.github.com/users/loginov-rocks/events{/privacy}","received_events_url":"https://api.github.com/users/loginov-rocks/received_events","type":"User","site_admin":false}],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/psergeev/react-hw/pulls/3/commits","review_comments_url":"https://api.github.com/repos/psergeev/react-hw/pulls/3/comments","review_comment_url":"https://api.github.com/repos/psergeev/react-hw/pulls/comments{/number}","comments_url":"https://api.github.com/repos/psergeev/react-hw/issues/3/comments","statuses_url":"https://api.github.com/repos/psergeev/react-hw/statuses/676be6f8f269ae9f8d581f444349051aac02d410","head":{"label":"psergeev:hw5","ref":"hw5","sha":"676be6f8f269ae9f8d581f444349051aac02d410","user":{"login":"psergeev","id":4945609,"node_id":"MDQ6VXNlcjQ5NDU2MDk=","avatar_url":"https://avatars0.githubusercontent.com/u/4945609?v=4","gravatar_id":"","url":"https://api.github.com/users/psergeev","html_url":"https://github.com/psergeev","followers_url":"https://api.github.com/users/psergeev/followers","following_url":"https://api.github.com/users/psergeev/following{/other_user}","gists_url":"https://api.github.com/users/psergeev/gists{/gist_id}","starred_url":"https://api.github.com/users/psergeev/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/psergeev/subscriptions","organizations_url":"https://api.github.com/users/psergeev/orgs","repos_url":"https://api.github.com/users/psergeev/repos","events_url":"https://api.github.com/users/psergeev/events{/privacy}","received_events_url":"https://api.github.com/users/psergeev/received_events","type":"User","site_admin":false},"repo":{"id":173752215,"node_id":"MDEwOlJlcG9zaXRvcnkxNzM3NTIyMTU=","name":"react-hw","full_name":"psergeev/react-hw","private":false,"owner":{"login":"psergeev","id":4945609,"node_id":"MDQ6VXNlcjQ5NDU2MDk=","avatar_url":"https://avatars0.githubusercontent.com/u/4945609?v=4","gravatar_id":"","url":"https://api.github.com/users/psergeev","html_url":"https://github.com/psergeev","followers_url":"https://api.github.com/users/psergeev/followers","following_url":"https://api.github.com/users/psergeev/following{/other_user}","gists_url":"https://api.github.com/users/psergeev/gists{/gist_id}","starred_url":"https://api.github.com/users/psergeev/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/psergeev/subscriptions","organizations_url":"https://api.github.com/users/psergeev/orgs","repos_url":"https://api.github.com/users/psergeev/repos","events_url":"https://api.github.com/users/psergeev/events{/privacy}","received_events_url":"https://api.github.com/users/psergeev/received_events","type":"User","site_admin":false},"html_url":"https://github.com/psergeev/react-hw","description":null,"fork":false,"url":"https://api.github.com/repos/psergeev/react-hw","forks_url":"https://api.github.com/repos/psergeev/react-hw/forks","keys_url":"https://api.github.com/repos/psergeev/react-hw/keys{/key_id}","collaborators_url":"https://api.github.com/repos/psergeev/react-hw/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/psergeev/react-hw/teams","hooks_url":"https://api.github.com/repos/psergeev/react-hw/hooks","issue_events_url":"https://api.github.com/repos/psergeev/react-hw/issues/events{/number}","events_url":"https://api.github.com/repos/psergeev/react-hw/events","assignees_url":"https://api.github.com/repos/psergeev/react-hw/assignees{/user}","branches_url":"https://api.github.com/repos/psergeev/react-hw/branches{/branch}","tags_url":"https://api.github.com/repos/psergeev/react-hw/tags","blobs_url":"https://api.github.com/repos/psergeev/react-hw/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/psergeev/react-hw/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/psergeev/react-hw/git/refs{/sha}","trees_url":"https://api.github.com/repos/psergeev/react-hw/git/trees{/sha}","statuses_url":"https://api.github.com/repos/psergeev/react-hw/statuses/{sha}","languages_url":"https://api.github.com/repos/psergeev/react-hw/languages","stargazers_url":"https://api.github.com/repos/psergeev/react-hw/stargazers","contributors_url":"https://api.github.com/repos/psergeev/react-hw/contributors","subscribers_url":"https://api.github.com/repos/psergeev/react-hw/subscribers","subscription_url":"https://api.github.com/repos/psergeev/react-hw/subscription","commits_url":"https://api.github.com/repos/psergeev/react-hw/commits{/sha}","git_commits_url":"https://api.github.com/repos/psergeev/react-hw/git/commits{/sha}","comments_url":"https://api.github.com/repos/psergeev/react-hw/comments{/number}","issue_comment_url":"https://api.github.com/repos/psergeev/react-hw/issues/comments{/number}","contents_url":"https://api.github.com/repos/psergeev/react-hw/contents/{+path}","compare_url":"https://api.github.com/repos/psergeev/react-hw/compare/{base}...{head}","merges_url":"https://api.github.com/repos/psergeev/react-hw/merges","archive_url":"https://api.github.com/repos/psergeev/react-hw/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/psergeev/react-hw/downloads","issues_url":"https://api.github.com/repos/psergeev/react-hw/issues{/number}","pulls_url":"https://api.github.com/repos/psergeev/react-hw/pulls{/number}","milestones_url":"https://api.github.com/repos/psergeev/react-hw/milestones{/number}","notifications_url":"https://api.github.com/repos/psergeev/react-hw/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/psergeev/react-hw/labels{/name}","releases_url":"https://api.github.com/repos/psergeev/react-hw/releases{/id}","deployments_url":"https://api.github.com/repos/psergeev/react-hw/deployments","created_at":"2019-03-04T13:41:42Z","updated_at":"2019-03-18T08:26:46Z","pushed_at":"2019-03-20T17:19:36Z","git_url":"git://github.com/psergeev/react-hw.git","ssh_url":"git@github.com:psergeev/react-hw.git","clone_url":"https://github.com/psergeev/react-hw.git","svn_url":"https://github.com/psergeev/react-hw","homepage":null,"size":147,"stargazers_count":0,"watchers_count":0,"language":"TypeScript","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":1,"license":null,"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"base":{"label":"psergeev:master","ref":"master","sha":"b2baf283fd84e6a68b508b16d3e78d63ed6827da","user":{"login":"psergeev","id":4945609,"node_id":"MDQ6VXNlcjQ5NDU2MDk=","avatar_url":"https://avatars0.githubusercontent.com/u/4945609?v=4","gravatar_id":"","url":"https://api.github.com/users/psergeev","html_url":"https://github.com/psergeev","followers_url":"https://api.github.com/users/psergeev/followers","following_url":"https://api.github.com/users/psergeev/following{/other_user}","gists_url":"https://api.github.com/users/psergeev/gists{/gist_id}","starred_url":"https://api.github.com/users/psergeev/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/psergeev/subscriptions","organizations_url":"https://api.github.com/users/psergeev/orgs","repos_url":"https://api.github.com/users/psergeev/repos","events_url":"https://api.github.com/users/psergeev/events{/privacy}","received_events_url":"https://api.github.com/users/psergeev/received_events","type":"User","site_admin":false},"repo":{"id":173752215,"node_id":"MDEwOlJlcG9zaXRvcnkxNzM3NTIyMTU=","name":"react-hw","full_name":"psergeev/react-hw","private":false,"owner":{"login":"psergeev","id":4945609,"node_id":"MDQ6VXNlcjQ5NDU2MDk=","avatar_url":"https://avatars0.githubusercontent.com/u/4945609?v=4","gravatar_id":"","url":"https://api.github.com/users/psergeev","html_url":"https://github.com/psergeev","followers_url":"https://api.github.com/users/psergeev/followers","following_url":"https://api.github.com/users/psergeev/following{/other_user}","gists_url":"https://api.github.com/users/psergeev/gists{/gist_id}","starred_url":"https://api.github.com/users/psergeev/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/psergeev/subscriptions","organizations_url":"https://api.github.com/users/psergeev/orgs","repos_url":"https://api.github.com/users/psergeev/repos","events_url":"https://api.github.com/users/psergeev/events{/privacy}","received_events_url":"https://api.github.com/users/psergeev/received_events","type":"User","site_admin":false},"html_url":"https://github.com/psergeev/react-hw","description":null,"fork":false,"url":"https://api.github.com/repos/psergeev/react-hw","forks_url":"https://api.github.com/repos/psergeev/react-hw/forks","keys_url":"https://api.github.com/repos/psergeev/react-hw/keys{/key_id}","collaborators_url":"https://api.github.com/repos/psergeev/react-hw/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/psergeev/react-hw/teams","hooks_url":"https://api.github.com/repos/psergeev/react-hw/hooks","issue_events_url":"https://api.github.com/repos/psergeev/react-hw/issues/events{/number}","events_url":"https://api.github.com/repos/psergeev/react-hw/events","assignees_url":"https://api.github.com/repos/psergeev/react-hw/assignees{/user}","branches_url":"https://api.github.com/repos/psergeev/react-hw/branches{/branch}","tags_url":"https://api.github.com/repos/psergeev/react-hw/tags","blobs_url":"https://api.github.com/repos/psergeev/react-hw/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/psergeev/react-hw/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/psergeev/react-hw/git/refs{/sha}","trees_url":"https://api.github.com/repos/psergeev/react-hw/git/trees{/sha}","statuses_url":"https://api.github.com/repos/psergeev/react-hw/statuses/{sha}","languages_url":"https://api.github.com/repos/psergeev/react-hw/languages","stargazers_url":"https://api.github.com/repos/psergeev/react-hw/stargazers","contributors_url":"https://api.github.com/repos/psergeev/react-hw/contributors","subscribers_url":"https://api.github.com/repos/psergeev/react-hw/subscribers","subscription_url":"https://api.github.com/repos/psergeev/react-hw/subscription","commits_url":"https://api.github.com/repos/psergeev/react-hw/commits{/sha}","git_commits_url":"https://api.github.com/repos/psergeev/react-hw/git/commits{/sha}","comments_url":"https://api.github.com/repos/psergeev/react-hw/comments{/number}","issue_comment_url":"https://api.github.com/repos/psergeev/react-hw/issues/comments{/number}","contents_url":"https://api.github.com/repos/psergeev/react-hw/contents/{+path}","compare_url":"https://api.github.com/repos/psergeev/react-hw/compare/{base}...{head}","merges_url":"https://api.github.com/repos/psergeev/react-hw/merges","archive_url":"https://api.github.com/repos/psergeev/react-hw/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/psergeev/react-hw/downloads","issues_url":"https://api.github.com/repos/psergeev/react-hw/issues{/number}","pulls_url":"https://api.github.com/repos/psergeev/react-hw/pulls{/number}","milestones_url":"https://api.github.com/repos/psergeev/react-hw/milestones{/number}","notifications_url":"https://api.github.com/repos/psergeev/react-hw/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/psergeev/react-hw/labels{/name}","releases_url":"https://api.github.com/repos/psergeev/react-hw/releases{/id}","deployments_url":"https://api.github.com/repos/psergeev/react-hw/deployments","created_at":"2019-03-04T13:41:42Z","updated_at":"2019-03-18T08:26:46Z","pushed_at":"2019-03-20T17:19:36Z","git_url":"git://github.com/psergeev/react-hw.git","ssh_url":"git@github.com:psergeev/react-hw.git","clone_url":"https://github.com/psergeev/react-hw.git","svn_url":"https://github.com/psergeev/react-hw","homepage":null,"size":147,"stargazers_count":0,"watchers_count":0,"language":"TypeScript","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":1,"license":null,"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/psergeev/react-hw/pulls/3"},"html":{"href":"https://github.com/psergeev/react-hw/pull/3"},"issue":{"href":"https://api.github.com/repos/psergeev/react-hw/issues/3"},"comments":{"href":"https://api.github.com/repos/psergeev/react-hw/issues/3/comments"},"review_comments":{"href":"https://api.github.com/repos/psergeev/react-hw/pulls/3/comments"},"review_comment":{"href":"https://api.github.com/repos/psergeev/react-hw/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/psergeev/react-hw/pulls/3/commits"},"statuses":{"href":"https://api.github.com/repos/psergeev/react-hw/statuses/676be6f8f269ae9f8d581f444349051aac02d410"}},"author_association":"OWNER"}}
other: {"actor":{"display_login":"loginov-rocks"}}