{"action":"created","comment":{"url":"https://api.github.com/repos/Expensify/Style-Guide/pulls/comments/113194435","pull_request_review_id":34562432,"id":113194435,"diff_hunk":"@@ -197,6 +198,20 @@ There are a few things that we have customized for our tastes which will take pr\n     );\n   }\n }\n+\n+// best\n+{\n+  render() {\n+    return (\n+      <div>\n+        {this.props.title && <div className=\"title\">{this.props.title}</div>}","path":"javascript.md","position":18,"original_position":18,"commit_id":"97bd1f92931a8e366be842fc5cff5e2fd67fa359","original_commit_id":"97bd1f92931a8e366be842fc5cff5e2fd67fa359","user":{"login":"tgolen","id":1228807,"avatar_url":"https://avatars1.githubusercontent.com/u/1228807?v=3","gravatar_id":"","url":"https://api.github.com/users/tgolen","html_url":"https://github.com/tgolen","followers_url":"https://api.github.com/users/tgolen/followers","following_url":"https://api.github.com/users/tgolen/following{/other_user}","gists_url":"https://api.github.com/users/tgolen/gists{/gist_id}","starred_url":"https://api.github.com/users/tgolen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tgolen/subscriptions","organizations_url":"https://api.github.com/users/tgolen/orgs","repos_url":"https://api.github.com/users/tgolen/repos","events_url":"https://api.github.com/users/tgolen/events{/privacy}","received_events_url":"https://api.github.com/users/tgolen/received_events","type":"User","site_admin":false},"body":"It would render the same thing that `{null}` renders, which is nothing.","created_at":"2017-04-25T13:30:25Z","updated_at":"2017-04-25T13:30:25Z","html_url":"https://github.com/Expensify/Style-Guide/pull/30#discussion_r113194435","pull_request_url":"https://api.github.com/repos/Expensify/Style-Guide/pulls/30","_links":{"self":{"href":"https://api.github.com/repos/Expensify/Style-Guide/pulls/comments/113194435"},"html":{"href":"https://github.com/Expensify/Style-Guide/pull/30#discussion_r113194435"},"pull_request":{"href":"https://api.github.com/repos/Expensify/Style-Guide/pulls/30"}}},"pull_request":{"url":"https://api.github.com/repos/Expensify/Style-Guide/pulls/30","id":117357261,"html_url":"https://github.com/Expensify/Style-Guide/pull/30","diff_url":"https://github.com/Expensify/Style-Guide/pull/30.diff","patch_url":"https://github.com/Expensify/Style-Guide/pull/30.patch","issue_url":"https://api.github.com/repos/Expensify/Style-Guide/issues/30","number":30,"state":"open","locked":false,"title":"Add better inline ternary styles","user":{"login":"tgolen","id":1228807,"avatar_url":"https://avatars1.githubusercontent.com/u/1228807?v=3","gravatar_id":"","url":"https://api.github.com/users/tgolen","html_url":"https://github.com/tgolen","followers_url":"https://api.github.com/users/tgolen/followers","following_url":"https://api.github.com/users/tgolen/following{/other_user}","gists_url":"https://api.github.com/users/tgolen/gists{/gist_id}","starred_url":"https://api.github.com/users/tgolen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tgolen/subscriptions","organizations_url":"https://api.github.com/users/tgolen/orgs","repos_url":"https://api.github.com/users/tgolen/repos","events_url":"https://api.github.com/users/tgolen/events{/privacy}","received_events_url":"https://api.github.com/users/tgolen/received_events","type":"User","site_admin":false},"body":"@fnwbr Would you please review this? Saw this in the React docs over the weekend.","created_at":"2017-04-24T21:04:08Z","updated_at":"2017-04-25T13:30:25Z","closed_at":null,"merged_at":null,"merge_commit_sha":"d5b3cf79863de066674d95c6596b7a688ef4547d","assignee":{"login":"tgolen","id":1228807,"avatar_url":"https://avatars1.githubusercontent.com/u/1228807?v=3","gravatar_id":"","url":"https://api.github.com/users/tgolen","html_url":"https://github.com/tgolen","followers_url":"https://api.github.com/users/tgolen/followers","following_url":"https://api.github.com/users/tgolen/following{/other_user}","gists_url":"https://api.github.com/users/tgolen/gists{/gist_id}","starred_url":"https://api.github.com/users/tgolen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tgolen/subscriptions","organizations_url":"https://api.github.com/users/tgolen/orgs","repos_url":"https://api.github.com/users/tgolen/repos","events_url":"https://api.github.com/users/tgolen/events{/privacy}","received_events_url":"https://api.github.com/users/tgolen/received_events","type":"User","site_admin":false},"assignees":[{"login":"tgolen","id":1228807,"avatar_url":"https://avatars1.githubusercontent.com/u/1228807?v=3","gravatar_id":"","url":"https://api.github.com/users/tgolen","html_url":"https://github.com/tgolen","followers_url":"https://api.github.com/users/tgolen/followers","following_url":"https://api.github.com/users/tgolen/following{/other_user}","gists_url":"https://api.github.com/users/tgolen/gists{/gist_id}","starred_url":"https://api.github.com/users/tgolen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tgolen/subscriptions","organizations_url":"https://api.github.com/users/tgolen/orgs","repos_url":"https://api.github.com/users/tgolen/repos","events_url":"https://api.github.com/users/tgolen/events{/privacy}","received_events_url":"https://api.github.com/users/tgolen/received_events","type":"User","site_admin":false}],"milestone":null,"commits_url":"https://api.github.com/repos/Expensify/Style-Guide/pulls/30/commits","review_comments_url":"https://api.github.com/repos/Expensify/Style-Guide/pulls/30/comments","review_comment_url":"https://api.github.com/repos/Expensify/Style-Guide/pulls/comments{/number}","comments_url":"https://api.github.com/repos/Expensify/Style-Guide/issues/30/comments","statuses_url":"https://api.github.com/repos/Expensify/Style-Guide/statuses/97bd1f92931a8e366be842fc5cff5e2fd67fa359","head":{"label":"Expensify:tgolen-patch-1","ref":"tgolen-patch-1","sha":"97bd1f92931a8e366be842fc5cff5e2fd67fa359","user":{"login":"Expensify","id":476779,"avatar_url":"https://avatars3.githubusercontent.com/u/476779?v=3","gravatar_id":"","url":"https://api.github.com/users/Expensify","html_url":"https://github.com/Expensify","followers_url":"https://api.github.com/users/Expensify/followers","following_url":"https://api.github.com/users/Expensify/following{/other_user}","gists_url":"https://api.github.com/users/Expensify/gists{/gist_id}","starred_url":"https://api.github.com/users/Expensify/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Expensify/subscriptions","organizations_url":"https://api.github.com/users/Expensify/orgs","repos_url":"https://api.github.com/users/Expensify/repos","events_url":"https://api.github.com/users/Expensify/events{/privacy}","received_events_url":"https://api.github.com/users/Expensify/received_events","type":"Organization","site_admin":false},"repo":{"id":32104674,"name":"Style-Guide","full_name":"Expensify/Style-Guide","owner":{"login":"Expensify","id":476779,"avatar_url":"https://avatars3.githubusercontent.com/u/476779?v=3","gravatar_id":"","url":"https://api.github.com/users/Expensify","html_url":"https://github.com/Expensify","followers_url":"https://api.github.com/users/Expensify/followers","following_url":"https://api.github.com/users/Expensify/following{/other_user}","gists_url":"https://api.github.com/users/Expensify/gists{/gist_id}","starred_url":"https://api.github.com/users/Expensify/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Expensify/subscriptions","organizations_url":"https://api.github.com/users/Expensify/orgs","repos_url":"https://api.github.com/users/Expensify/repos","events_url":"https://api.github.com/users/Expensify/events{/privacy}","received_events_url":"https://api.github.com/users/Expensify/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/Expensify/Style-Guide","description":"Official Style of Expensify.","fork":false,"url":"https://api.github.com/repos/Expensify/Style-Guide","forks_url":"https://api.github.com/repos/Expensify/Style-Guide/forks","keys_url":"https://api.github.com/repos/Expensify/Style-Guide/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Expensify/Style-Guide/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Expensify/Style-Guide/teams","hooks_url":"https://api.github.com/repos/Expensify/Style-Guide/hooks","issue_events_url":"https://api.github.com/repos/Expensify/Style-Guide/issues/events{/number}","events_url":"https://api.github.com/repos/Expensify/Style-Guide/events","assignees_url":"https://api.github.com/repos/Expensify/Style-Guide/assignees{/user}","branches_url":"https://api.github.com/repos/Expensify/Style-Guide/branches{/branch}","tags_url":"https://api.github.com/repos/Expensify/Style-Guide/tags","blobs_url":"https://api.github.com/repos/Expensify/Style-Guide/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Expensify/Style-Guide/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Expensify/Style-Guide/git/refs{/sha}","trees_url":"https://api.github.com/repos/Expensify/Style-Guide/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Expensify/Style-Guide/statuses/{sha}","languages_url":"https://api.github.com/repos/Expensify/Style-Guide/languages","stargazers_url":"https://api.github.com/repos/Expensify/Style-Guide/stargazers","contributors_url":"https://api.github.com/repos/Expensify/Style-Guide/contributors","subscribers_url":"https://api.github.com/repos/Expensify/Style-Guide/subscribers","subscription_url":"https://api.github.com/repos/Expensify/Style-Guide/subscription","commits_url":"https://api.github.com/repos/Expensify/Style-Guide/commits{/sha}","git_commits_url":"https://api.github.com/repos/Expensify/Style-Guide/git/commits{/sha}","comments_url":"https://api.github.com/repos/Expensify/Style-Guide/comments{/number}","issue_comment_url":"https://api.github.com/repos/Expensify/Style-Guide/issues/comments{/number}","contents_url":"https://api.github.com/repos/Expensify/Style-Guide/contents/{+path}","compare_url":"https://api.github.com/repos/Expensify/Style-Guide/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Expensify/Style-Guide/merges","archive_url":"https://api.github.com/repos/Expensify/Style-Guide/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Expensify/Style-Guide/downloads","issues_url":"https://api.github.com/repos/Expensify/Style-Guide/issues{/number}","pulls_url":"https://api.github.com/repos/Expensify/Style-Guide/pulls{/number}","milestones_url":"https://api.github.com/repos/Expensify/Style-Guide/milestones{/number}","notifications_url":"https://api.github.com/repos/Expensify/Style-Guide/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Expensify/Style-Guide/labels{/name}","releases_url":"https://api.github.com/repos/Expensify/Style-Guide/releases{/id}","deployments_url":"https://api.github.com/repos/Expensify/Style-Guide/deployments","created_at":"2015-03-12T21:50:56Z","updated_at":"2017-01-19T16:23:53Z","pushed_at":"2017-04-24T21:04:08Z","git_url":"git://github.com/Expensify/Style-Guide.git","ssh_url":"git@github.com:Expensify/Style-Guide.git","clone_url":"https://github.com/Expensify/Style-Guide.git","svn_url":"https://github.com/Expensify/Style-Guide","homepage":null,"size":60,"stargazers_count":3,"watchers_count":3,"language":null,"has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":2,"forks":0,"open_issues":2,"watchers":3,"default_branch":"master"}},"base":{"label":"Expensify:master","ref":"master","sha":"8cb282d4a35d7af042f8b9c88a03894e75bfc29a","user":{"login":"Expensify","id":476779,"avatar_url":"https://avatars3.githubusercontent.com/u/476779?v=3","gravatar_id":"","url":"https://api.github.com/users/Expensify","html_url":"https://github.com/Expensify","followers_url":"https://api.github.com/users/Expensify/followers","following_url":"https://api.github.com/users/Expensify/following{/other_user}","gists_url":"https://api.github.com/users/Expensify/gists{/gist_id}","starred_url":"https://api.github.com/users/Expensify/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Expensify/subscriptions","organizations_url":"https://api.github.com/users/Expensify/orgs","repos_url":"https://api.github.com/users/Expensify/repos","events_url":"https://api.github.com/users/Expensify/events{/privacy}","received_events_url":"https://api.github.com/users/Expensify/received_events","type":"Organization","site_admin":false},"repo":{"id":32104674,"name":"Style-Guide","full_name":"Expensify/Style-Guide","owner":{"login":"Expensify","id":476779,"avatar_url":"https://avatars3.githubusercontent.com/u/476779?v=3","gravatar_id":"","url":"https://api.github.com/users/Expensify","html_url":"https://github.com/Expensify","followers_url":"https://api.github.com/users/Expensify/followers","following_url":"https://api.github.com/users/Expensify/following{/other_user}","gists_url":"https://api.github.com/users/Expensify/gists{/gist_id}","starred_url":"https://api.github.com/users/Expensify/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Expensify/subscriptions","organizations_url":"https://api.github.com/users/Expensify/orgs","repos_url":"https://api.github.com/users/Expensify/repos","events_url":"https://api.github.com/users/Expensify/events{/privacy}","received_events_url":"https://api.github.com/users/Expensify/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/Expensify/Style-Guide","description":"Official Style of Expensify.","fork":false,"url":"https://api.github.com/repos/Expensify/Style-Guide","forks_url":"https://api.github.com/repos/Expensify/Style-Guide/forks","keys_url":"https://api.github.com/repos/Expensify/Style-Guide/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Expensify/Style-Guide/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Expensify/Style-Guide/teams","hooks_url":"https://api.github.com/repos/Expensify/Style-Guide/hooks","issue_events_url":"https://api.github.com/repos/Expensify/Style-Guide/issues/events{/number}","events_url":"https://api.github.com/repos/Expensify/Style-Guide/events","assignees_url":"https://api.github.com/repos/Expensify/Style-Guide/assignees{/user}","branches_url":"https://api.github.com/repos/Expensify/Style-Guide/branches{/branch}","tags_url":"https://api.github.com/repos/Expensify/Style-Guide/tags","blobs_url":"https://api.github.com/repos/Expensify/Style-Guide/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Expensify/Style-Guide/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Expensify/Style-Guide/git/refs{/sha}","trees_url":"https://api.github.com/repos/Expensify/Style-Guide/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Expensify/Style-Guide/statuses/{sha}","languages_url":"https://api.github.com/repos/Expensify/Style-Guide/languages","stargazers_url":"https://api.github.com/repos/Expensify/Style-Guide/stargazers","contributors_url":"https://api.github.com/repos/Expensify/Style-Guide/contributors","subscribers_url":"https://api.github.com/repos/Expensify/Style-Guide/subscribers","subscription_url":"https://api.github.com/repos/Expensify/Style-Guide/subscription","commits_url":"https://api.github.com/repos/Expensify/Style-Guide/commits{/sha}","git_commits_url":"https://api.github.com/repos/Expensify/Style-Guide/git/commits{/sha}","comments_url":"https://api.github.com/repos/Expensify/Style-Guide/comments{/number}","issue_comment_url":"https://api.github.com/repos/Expensify/Style-Guide/issues/comments{/number}","contents_url":"https://api.github.com/repos/Expensify/Style-Guide/contents/{+path}","compare_url":"https://api.github.com/repos/Expensify/Style-Guide/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Expensify/Style-Guide/merges","archive_url":"https://api.github.com/repos/Expensify/Style-Guide/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Expensify/Style-Guide/downloads","issues_url":"https://api.github.com/repos/Expensify/Style-Guide/issues{/number}","pulls_url":"https://api.github.com/repos/Expensify/Style-Guide/pulls{/number}","milestones_url":"https://api.github.com/repos/Expensify/Style-Guide/milestones{/number}","notifications_url":"https://api.github.com/repos/Expensify/Style-Guide/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Expensify/Style-Guide/labels{/name}","releases_url":"https://api.github.com/repos/Expensify/Style-Guide/releases{/id}","deployments_url":"https://api.github.com/repos/Expensify/Style-Guide/deployments","created_at":"2015-03-12T21:50:56Z","updated_at":"2017-01-19T16:23:53Z","pushed_at":"2017-04-24T21:04:08Z","git_url":"git://github.com/Expensify/Style-Guide.git","ssh_url":"git@github.com:Expensify/Style-Guide.git","clone_url":"https://github.com/Expensify/Style-Guide.git","svn_url":"https://github.com/Expensify/Style-Guide","homepage":null,"size":60,"stargazers_count":3,"watchers_count":3,"language":null,"has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":2,"forks":0,"open_issues":2,"watchers":3,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/Expensify/Style-Guide/pulls/30"},"html":{"href":"https://github.com/Expensify/Style-Guide/pull/30"},"issue":{"href":"https://api.github.com/repos/Expensify/Style-Guide/issues/30"},"comments":{"href":"https://api.github.com/repos/Expensify/Style-Guide/issues/30/comments"},"review_comments":{"href":"https://api.github.com/repos/Expensify/Style-Guide/pulls/30/comments"},"review_comment":{"href":"https://api.github.com/repos/Expensify/Style-Guide/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/Expensify/Style-Guide/pulls/30/commits"},"statuses":{"href":"https://api.github.com/repos/Expensify/Style-Guide/statuses/97bd1f92931a8e366be842fc5cff5e2fd67fa359"}}}}
{"actor":{"display_login":"tgolen"}}