{"action":"created","comment":{"url":"https://api.github.com/repos/facebook/react/pulls/comments/64389332","id":64389332,"diff_hunk":"@@ -11,24 +11,21 @@ In most cases, you can use the `key` prop to specify keys on the elements you're\n That is, if you have a component such as:\n \n ```js\n-var Swapper = React.createClass({\n-  propTypes: {\n-    // `leftChildren` and `rightChildren` can be a string, element, array, etc.\n-    leftChildren: React.PropTypes.node,\n-    rightChildren: React.PropTypes.node,\n-\n-    swapped: React.PropTypes.bool\n-  },\n-  render: function() {\n-    var children;\n-    if (this.props.swapped) {\n-      children = [this.props.rightChildren, this.props.leftChildren];\n-    } else {\n-      children = [this.props.leftChildren, this.props.rightChildren];\n-    }\n-    return <div>{children}</div>;\n+const Swapper  = ({props}) {","path":"docs/docs/10.6-create-fragment.md","position":20,"original_position":20,"commit_id":"08f1ab61a936106e3fa6a078332fda6f55116819","original_commit_id":"08f1ab61a936106e3fa6a078332fda6f55116819","user":{"login":"roganov","id":1858503,"avatar_url":"https://avatars.githubusercontent.com/u/1858503?v=3","gravatar_id":"","url":"https://api.github.com/users/roganov","html_url":"https://github.com/roganov","followers_url":"https://api.github.com/users/roganov/followers","following_url":"https://api.github.com/users/roganov/following{/other_user}","gists_url":"https://api.github.com/users/roganov/gists{/gist_id}","starred_url":"https://api.github.com/users/roganov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/roganov/subscriptions","organizations_url":"https://api.github.com/users/roganov/orgs","repos_url":"https://api.github.com/users/roganov/repos","events_url":"https://api.github.com/users/roganov/events{/privacy}","received_events_url":"https://api.github.com/users/roganov/received_events","type":"User","site_admin":false},"body":"1) should be `(props)`\r\n2) forgot arrow","created_at":"2016-05-24T13:25:52Z","updated_at":"2016-05-24T13:25:52Z","html_url":"https://github.com/facebook/react/pull/6847#discussion_r64389332","pull_request_url":"https://api.github.com/repos/facebook/react/pulls/6847","_links":{"self":{"href":"https://api.github.com/repos/facebook/react/pulls/comments/64389332"},"html":{"href":"https://github.com/facebook/react/pull/6847#discussion_r64389332"},"pull_request":{"href":"https://api.github.com/repos/facebook/react/pulls/6847"}}},"pull_request":{"url":"https://api.github.com/repos/facebook/react/pulls/6847","id":71112267,"html_url":"https://github.com/facebook/react/pull/6847","diff_url":"https://github.com/facebook/react/pull/6847.diff","patch_url":"https://github.com/facebook/react/pull/6847.patch","issue_url":"https://api.github.com/repos/facebook/react/issues/6847","number":6847,"state":"open","locked":false,"title":"ES6 Porting : 'Keyed Fragments' (10.6 Create Fragments)","user":{"login":"ankitml","id":573824,"avatar_url":"https://avatars.githubusercontent.com/u/573824?v=3","gravatar_id":"","url":"https://api.github.com/users/ankitml","html_url":"https://github.com/ankitml","followers_url":"https://api.github.com/users/ankitml/followers","following_url":"https://api.github.com/users/ankitml/following{/other_user}","gists_url":"https://api.github.com/users/ankitml/gists{/gist_id}","starred_url":"https://api.github.com/users/ankitml/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ankitml/subscriptions","organizations_url":"https://api.github.com/users/ankitml/orgs","repos_url":"https://api.github.com/users/ankitml/repos","events_url":"https://api.github.com/users/ankitml/events{/privacy}","received_events_url":"https://api.github.com/users/ankitml/received_events","type":"User","site_admin":false},"body":"Reference Issue : https://github.com/facebook/react/issues/3710 \r\n*Before* submitting a pull request, please make sure the following is done...\r\n\r\n1. Fork the repo and create your branch from `master`.\r\n2. If you've added code that should be tested, add tests!\r\n3. If you've changed APIs, update the documentation.\r\n4. Ensure the test suite passes (`grunt test`).\r\n5. Make sure your code lints (`grunt lint`) - we've done our best to make sure these rules match our internal linting guidelines.\r\n6. If you haven't already, complete the [CLA](https://code.facebook.com/cla).\r\n","created_at":"2016-05-23T20:06:32Z","updated_at":"2016-05-24T13:25:52Z","closed_at":null,"merged_at":null,"merge_commit_sha":"789fc82b7c16497f2f0acd6a000257de0a60eefe","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/facebook/react/pulls/6847/commits","review_comments_url":"https://api.github.com/repos/facebook/react/pulls/6847/comments","review_comment_url":"https://api.github.com/repos/facebook/react/pulls/comments{/number}","comments_url":"https://api.github.com/repos/facebook/react/issues/6847/comments","statuses_url":"https://api.github.com/repos/facebook/react/statuses/08f1ab61a936106e3fa6a078332fda6f55116819","head":{"label":"ankitml:documentation_es6","ref":"documentation_es6","sha":"08f1ab61a936106e3fa6a078332fda6f55116819","user":{"login":"ankitml","id":573824,"avatar_url":"https://avatars.githubusercontent.com/u/573824?v=3","gravatar_id":"","url":"https://api.github.com/users/ankitml","html_url":"https://github.com/ankitml","followers_url":"https://api.github.com/users/ankitml/followers","following_url":"https://api.github.com/users/ankitml/following{/other_user}","gists_url":"https://api.github.com/users/ankitml/gists{/gist_id}","starred_url":"https://api.github.com/users/ankitml/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ankitml/subscriptions","organizations_url":"https://api.github.com/users/ankitml/orgs","repos_url":"https://api.github.com/users/ankitml/repos","events_url":"https://api.github.com/users/ankitml/events{/privacy}","received_events_url":"https://api.github.com/users/ankitml/received_events","type":"User","site_admin":false},"repo":{"id":59354564,"name":"react","full_name":"ankitml/react","owner":{"login":"ankitml","id":573824,"avatar_url":"https://avatars.githubusercontent.com/u/573824?v=3","gravatar_id":"","url":"https://api.github.com/users/ankitml","html_url":"https://github.com/ankitml","followers_url":"https://api.github.com/users/ankitml/followers","following_url":"https://api.github.com/users/ankitml/following{/other_user}","gists_url":"https://api.github.com/users/ankitml/gists{/gist_id}","starred_url":"https://api.github.com/users/ankitml/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ankitml/subscriptions","organizations_url":"https://api.github.com/users/ankitml/orgs","repos_url":"https://api.github.com/users/ankitml/repos","events_url":"https://api.github.com/users/ankitml/events{/privacy}","received_events_url":"https://api.github.com/users/ankitml/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/ankitml/react","description":"A declarative, efficient, and flexible JavaScript library for building user interfaces.","fork":true,"url":"https://api.github.com/repos/ankitml/react","forks_url":"https://api.github.com/repos/ankitml/react/forks","keys_url":"https://api.github.com/repos/ankitml/react/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ankitml/react/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ankitml/react/teams","hooks_url":"https://api.github.com/repos/ankitml/react/hooks","issue_events_url":"https://api.github.com/repos/ankitml/react/issues/events{/number}","events_url":"https://api.github.com/repos/ankitml/react/events","assignees_url":"https://api.github.com/repos/ankitml/react/assignees{/user}","branches_url":"https://api.github.com/repos/ankitml/react/branches{/branch}","tags_url":"https://api.github.com/repos/ankitml/react/tags","blobs_url":"https://api.github.com/repos/ankitml/react/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ankitml/react/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ankitml/react/git/refs{/sha}","trees_url":"https://api.github.com/repos/ankitml/react/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ankitml/react/statuses/{sha}","languages_url":"https://api.github.com/repos/ankitml/react/languages","stargazers_url":"https://api.github.com/repos/ankitml/react/stargazers","contributors_url":"https://api.github.com/repos/ankitml/react/contributors","subscribers_url":"https://api.github.com/repos/ankitml/react/subscribers","subscription_url":"https://api.github.com/repos/ankitml/react/subscription","commits_url":"https://api.github.com/repos/ankitml/react/commits{/sha}","git_commits_url":"https://api.github.com/repos/ankitml/react/git/commits{/sha}","comments_url":"https://api.github.com/repos/ankitml/react/comments{/number}","issue_comment_url":"https://api.github.com/repos/ankitml/react/issues/comments{/number}","contents_url":"https://api.github.com/repos/ankitml/react/contents/{+path}","compare_url":"https://api.github.com/repos/ankitml/react/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ankitml/react/merges","archive_url":"https://api.github.com/repos/ankitml/react/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ankitml/react/downloads","issues_url":"https://api.github.com/repos/ankitml/react/issues{/number}","pulls_url":"https://api.github.com/repos/ankitml/react/pulls{/number}","milestones_url":"https://api.github.com/repos/ankitml/react/milestones{/number}","notifications_url":"https://api.github.com/repos/ankitml/react/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ankitml/react/labels{/name}","releases_url":"https://api.github.com/repos/ankitml/react/releases{/id}","deployments_url":"https://api.github.com/repos/ankitml/react/deployments","created_at":"2016-05-21T10:37:26Z","updated_at":"2016-05-21T10:37:31Z","pushed_at":"2016-05-23T20:45:31Z","git_url":"git://github.com/ankitml/react.git","ssh_url":"git@github.com:ankitml/react.git","clone_url":"https://github.com/ankitml/react.git","svn_url":"https://github.com/ankitml/react","homepage":"https://facebook.github.io/react/","size":91163,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"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":"799eae2fafae6826380d1a7f1fa9619da6cfbd29","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}","deployments_url":"https://api.github.com/repos/facebook/react/deployments","created_at":"2013-05-24T16:15:54Z","updated_at":"2016-05-24T13:11:51Z","pushed_at":"2016-05-24T12:36:49Z","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":112476,"stargazers_count":42514,"watchers_count":42514,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":7216,"mirror_url":null,"open_issues_count":555,"forks":7216,"open_issues":555,"watchers":42514,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/facebook/react/pulls/6847"},"html":{"href":"https://github.com/facebook/react/pull/6847"},"issue":{"href":"https://api.github.com/repos/facebook/react/issues/6847"},"comments":{"href":"https://api.github.com/repos/facebook/react/issues/6847/comments"},"review_comments":{"href":"https://api.github.com/repos/facebook/react/pulls/6847/comments"},"review_comment":{"href":"https://api.github.com/repos/facebook/react/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/facebook/react/pulls/6847/commits"},"statuses":{"href":"https://api.github.com/repos/facebook/react/statuses/08f1ab61a936106e3fa6a078332fda6f55116819"}}}}
{"actor":{"display_login":"roganov"}}