{"action":"created","comment":{"url":"https://api.github.com/repos/facebook/reason/pulls/comments/81021648","pull_request_review_id":2033384,"id":81021648,"diff_hunk":"@@ -415,3 +417,67 @@ let asd2 = video test::false 10 [@JSX] [@foo];\n let div children => 1;\n \n ((fun () => div) ()) [] [@JSX];\n+\n+let myFun () =>\n+  <>\n+    <Namespace.Foo\n+      intended=true\n+      anotherOptional=200\n+    />\n+    <Namespace.Foo\n+      intended=true\n+      anotherOptional=200\n+    />\n+    <Namespace.Foo\n+      intended=true anotherOptional=200>\n+      <Foo />\n+      <Foo />\n+      <Foo />\n+      <Foo />\n+      <Foo />\n+      <Foo />\n+      <Foo />\n+    </Namespace.Foo>\n+  </>;\n+\n+let myFun () => <> </>;\n+\n+let myFun () =>\n+  <>\n+    <Namespace.Foo\n+      intended=true\n+      anotherOptional=200\n+    />\n+    <Namespace.Foo\n+      intended=true\n+      anotherOptional=200\n+    />\n+    <Namespace.Foo\n+      intended=true anotherOptional=200>","path":"formatTest/typeCheckedTests/expected_output/jsx.re","position":34,"original_position":58,"commit_id":"63ed0f004033ca830084365634842c0b37852160","original_commit_id":"63ed0f004033ca830084365634842c0b37852160","user":{"login":"chenglou","id":1909539,"avatar_url":"https://avatars.githubusercontent.com/u/1909539?v=3","gravatar_id":"","url":"https://api.github.com/users/chenglou","html_url":"https://github.com/chenglou","followers_url":"https://api.github.com/users/chenglou/followers","following_url":"https://api.github.com/users/chenglou/following{/other_user}","gists_url":"https://api.github.com/users/chenglou/gists{/gist_id}","starred_url":"https://api.github.com/users/chenglou/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chenglou/subscriptions","organizations_url":"https://api.github.com/users/chenglou/orgs","repos_url":"https://api.github.com/users/chenglou/repos","events_url":"https://api.github.com/users/chenglou/events{/privacy}","received_events_url":"https://api.github.com/users/chenglou/received_events","type":"User","site_admin":false},"body":"Humm can this be fixed? Seeing this is a bit more satisfying:\r\n\r\n```html\r\n<div foo=bar1 />\r\n<div foo=bar2 />\r\n<div foo=bar3 />\r\n```\r\n\r\nNot an issue for now though.","created_at":"2016-09-28T21:29:20Z","updated_at":"2016-09-28T21:29:20Z","html_url":"https://github.com/facebook/reason/pull/798#discussion_r81021648","pull_request_url":"https://api.github.com/repos/facebook/reason/pulls/798","_links":{"self":{"href":"https://api.github.com/repos/facebook/reason/pulls/comments/81021648"},"html":{"href":"https://github.com/facebook/reason/pull/798#discussion_r81021648"},"pull_request":{"href":"https://api.github.com/repos/facebook/reason/pulls/798"}}},"pull_request":{"url":"https://api.github.com/repos/facebook/reason/pulls/798","id":87078620,"html_url":"https://github.com/facebook/reason/pull/798","diff_url":"https://github.com/facebook/reason/pull/798.diff","patch_url":"https://github.com/facebook/reason/pull/798.patch","issue_url":"https://api.github.com/repos/facebook/reason/issues/798","number":798,"state":"open","locked":false,"title":"[Reason] JSX: Breaking Bad 🚌 ","user":{"login":"jordwalke","id":977348,"avatar_url":"https://avatars.githubusercontent.com/u/977348?v=3","gravatar_id":"","url":"https://api.github.com/users/jordwalke","html_url":"https://github.com/jordwalke","followers_url":"https://api.github.com/users/jordwalke/followers","following_url":"https://api.github.com/users/jordwalke/following{/other_user}","gists_url":"https://api.github.com/users/jordwalke/gists{/gist_id}","starred_url":"https://api.github.com/users/jordwalke/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jordwalke/subscriptions","organizations_url":"https://api.github.com/users/jordwalke/orgs","repos_url":"https://api.github.com/users/jordwalke/repos","events_url":"https://api.github.com/users/jordwalke/events{/privacy}","received_events_url":"https://api.github.com/users/jordwalke/received_events","type":"User","site_admin":false},"body":"[Reason] JSX: Breaking Bad 🚌\r\nSummary: Fix the bad breaking of JSX tags.\r\n\r\nTwo improvements here:\r\n\r\n- Attributes now break independently of children (fixes https://github.com/facebook/reason/issues/794)\r\n- Fix wonky incorrect breaking (fixes https://github.com/facebook/reason/issues/787)\r\n","created_at":"2016-09-28T08:53:43Z","updated_at":"2016-09-28T21:29:20Z","closed_at":null,"merged_at":null,"merge_commit_sha":"bd16dc2c15ae2d7843ae9ea5eb6beb577bc55b3a","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/facebook/reason/pulls/798/commits","review_comments_url":"https://api.github.com/repos/facebook/reason/pulls/798/comments","review_comment_url":"https://api.github.com/repos/facebook/reason/pulls/comments{/number}","comments_url":"https://api.github.com/repos/facebook/reason/issues/798/comments","statuses_url":"https://api.github.com/repos/facebook/reason/statuses/63ed0f004033ca830084365634842c0b37852160","head":{"label":"facebook:JSXBreakingBad","ref":"JSXBreakingBad","sha":"63ed0f004033ca830084365634842c0b37852160","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":46261404,"name":"reason","full_name":"facebook/reason","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/reason","description":"Friendly Syntax & Toolchain Powered by OCaml","fork":false,"url":"https://api.github.com/repos/facebook/reason","forks_url":"https://api.github.com/repos/facebook/reason/forks","keys_url":"https://api.github.com/repos/facebook/reason/keys{/key_id}","collaborators_url":"https://api.github.com/repos/facebook/reason/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/facebook/reason/teams","hooks_url":"https://api.github.com/repos/facebook/reason/hooks","issue_events_url":"https://api.github.com/repos/facebook/reason/issues/events{/number}","events_url":"https://api.github.com/repos/facebook/reason/events","assignees_url":"https://api.github.com/repos/facebook/reason/assignees{/user}","branches_url":"https://api.github.com/repos/facebook/reason/branches{/branch}","tags_url":"https://api.github.com/repos/facebook/reason/tags","blobs_url":"https://api.github.com/repos/facebook/reason/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/facebook/reason/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/facebook/reason/git/refs{/sha}","trees_url":"https://api.github.com/repos/facebook/reason/git/trees{/sha}","statuses_url":"https://api.github.com/repos/facebook/reason/statuses/{sha}","languages_url":"https://api.github.com/repos/facebook/reason/languages","stargazers_url":"https://api.github.com/repos/facebook/reason/stargazers","contributors_url":"https://api.github.com/repos/facebook/reason/contributors","subscribers_url":"https://api.github.com/repos/facebook/reason/subscribers","subscription_url":"https://api.github.com/repos/facebook/reason/subscription","commits_url":"https://api.github.com/repos/facebook/reason/commits{/sha}","git_commits_url":"https://api.github.com/repos/facebook/reason/git/commits{/sha}","comments_url":"https://api.github.com/repos/facebook/reason/comments{/number}","issue_comment_url":"https://api.github.com/repos/facebook/reason/issues/comments{/number}","contents_url":"https://api.github.com/repos/facebook/reason/contents/{+path}","compare_url":"https://api.github.com/repos/facebook/reason/compare/{base}...{head}","merges_url":"https://api.github.com/repos/facebook/reason/merges","archive_url":"https://api.github.com/repos/facebook/reason/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/facebook/reason/downloads","issues_url":"https://api.github.com/repos/facebook/reason/issues{/number}","pulls_url":"https://api.github.com/repos/facebook/reason/pulls{/number}","milestones_url":"https://api.github.com/repos/facebook/reason/milestones{/number}","notifications_url":"https://api.github.com/repos/facebook/reason/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/facebook/reason/labels{/name}","releases_url":"https://api.github.com/repos/facebook/reason/releases{/id}","deployments_url":"https://api.github.com/repos/facebook/reason/deployments","created_at":"2015-11-16T08:22:32Z","updated_at":"2016-09-28T14:35:06Z","pushed_at":"2016-09-28T08:53:43Z","git_url":"git://github.com/facebook/reason.git","ssh_url":"git@github.com:facebook/reason.git","clone_url":"https://github.com/facebook/reason.git","svn_url":"https://github.com/facebook/reason","homepage":"http://facebook.github.io/reason","size":21500,"stargazers_count":1738,"watchers_count":1738,"language":"OCaml","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":112,"mirror_url":null,"open_issues_count":220,"forks":112,"open_issues":220,"watchers":1738,"default_branch":"master"}},"base":{"label":"facebook:master","ref":"master","sha":"c5f4d502e6dd51234481df0d435eeb559d536785","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":46261404,"name":"reason","full_name":"facebook/reason","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/reason","description":"Friendly Syntax & Toolchain Powered by OCaml","fork":false,"url":"https://api.github.com/repos/facebook/reason","forks_url":"https://api.github.com/repos/facebook/reason/forks","keys_url":"https://api.github.com/repos/facebook/reason/keys{/key_id}","collaborators_url":"https://api.github.com/repos/facebook/reason/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/facebook/reason/teams","hooks_url":"https://api.github.com/repos/facebook/reason/hooks","issue_events_url":"https://api.github.com/repos/facebook/reason/issues/events{/number}","events_url":"https://api.github.com/repos/facebook/reason/events","assignees_url":"https://api.github.com/repos/facebook/reason/assignees{/user}","branches_url":"https://api.github.com/repos/facebook/reason/branches{/branch}","tags_url":"https://api.github.com/repos/facebook/reason/tags","blobs_url":"https://api.github.com/repos/facebook/reason/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/facebook/reason/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/facebook/reason/git/refs{/sha}","trees_url":"https://api.github.com/repos/facebook/reason/git/trees{/sha}","statuses_url":"https://api.github.com/repos/facebook/reason/statuses/{sha}","languages_url":"https://api.github.com/repos/facebook/reason/languages","stargazers_url":"https://api.github.com/repos/facebook/reason/stargazers","contributors_url":"https://api.github.com/repos/facebook/reason/contributors","subscribers_url":"https://api.github.com/repos/facebook/reason/subscribers","subscription_url":"https://api.github.com/repos/facebook/reason/subscription","commits_url":"https://api.github.com/repos/facebook/reason/commits{/sha}","git_commits_url":"https://api.github.com/repos/facebook/reason/git/commits{/sha}","comments_url":"https://api.github.com/repos/facebook/reason/comments{/number}","issue_comment_url":"https://api.github.com/repos/facebook/reason/issues/comments{/number}","contents_url":"https://api.github.com/repos/facebook/reason/contents/{+path}","compare_url":"https://api.github.com/repos/facebook/reason/compare/{base}...{head}","merges_url":"https://api.github.com/repos/facebook/reason/merges","archive_url":"https://api.github.com/repos/facebook/reason/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/facebook/reason/downloads","issues_url":"https://api.github.com/repos/facebook/reason/issues{/number}","pulls_url":"https://api.github.com/repos/facebook/reason/pulls{/number}","milestones_url":"https://api.github.com/repos/facebook/reason/milestones{/number}","notifications_url":"https://api.github.com/repos/facebook/reason/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/facebook/reason/labels{/name}","releases_url":"https://api.github.com/repos/facebook/reason/releases{/id}","deployments_url":"https://api.github.com/repos/facebook/reason/deployments","created_at":"2015-11-16T08:22:32Z","updated_at":"2016-09-28T14:35:06Z","pushed_at":"2016-09-28T08:53:43Z","git_url":"git://github.com/facebook/reason.git","ssh_url":"git@github.com:facebook/reason.git","clone_url":"https://github.com/facebook/reason.git","svn_url":"https://github.com/facebook/reason","homepage":"http://facebook.github.io/reason","size":21500,"stargazers_count":1738,"watchers_count":1738,"language":"OCaml","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":112,"mirror_url":null,"open_issues_count":220,"forks":112,"open_issues":220,"watchers":1738,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/facebook/reason/pulls/798"},"html":{"href":"https://github.com/facebook/reason/pull/798"},"issue":{"href":"https://api.github.com/repos/facebook/reason/issues/798"},"comments":{"href":"https://api.github.com/repos/facebook/reason/issues/798/comments"},"review_comments":{"href":"https://api.github.com/repos/facebook/reason/pulls/798/comments"},"review_comment":{"href":"https://api.github.com/repos/facebook/reason/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/facebook/reason/pulls/798/commits"},"statuses":{"href":"https://api.github.com/repos/facebook/reason/statuses/63ed0f004033ca830084365634842c0b37852160"}}}}
{"actor":{"display_login":"chenglou"}}