{"action":"created","issue":{"url":"https://api.github.com/repos/facebook/react/issues/2127","labels_url":"https://api.github.com/repos/facebook/react/issues/2127/labels{/name}","comments_url":"https://api.github.com/repos/facebook/react/issues/2127/comments","events_url":"https://api.github.com/repos/facebook/react/issues/2127/events","html_url":"https://github.com/facebook/react/issues/2127","id":41668009,"number":2127,"title":"Add fragment API to allow returning multiple components from render","user":{"login":"AdamKyle","id":188563,"avatar_url":"https://avatars.githubusercontent.com/u/188563?v=3","gravatar_id":"","url":"https://api.github.com/users/AdamKyle","html_url":"https://github.com/AdamKyle","followers_url":"https://api.github.com/users/AdamKyle/followers","following_url":"https://api.github.com/users/AdamKyle/following{/other_user}","gists_url":"https://api.github.com/users/AdamKyle/gists{/gist_id}","starred_url":"https://api.github.com/users/AdamKyle/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AdamKyle/subscriptions","organizations_url":"https://api.github.com/users/AdamKyle/orgs","repos_url":"https://api.github.com/users/AdamKyle/repos","events_url":"https://api.github.com/users/AdamKyle/events{/privacy}","received_events_url":"https://api.github.com/users/AdamKyle/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":24,"created_at":"2014-09-02T00:58:45Z","updated_at":"2015-04-06T18:36:17Z","closed_at":null,"body":"Consider the following:\r\n\r\n```js\r\nvar ManagePost = React.createClass({\r\n\r\n  render: function() {\r\n    var posts = this.props.posts\r\n\r\n    var something;\r\n    var somethingelse;\r\n\r\n    var row = posts.map(function(post){\r\n      return(\r\n        <div>\r\n          <div className=\"col-md-8\">\r\n          </div>\r\n          <div className=\"cold-md-4\">\r\n          </div>\r\n        </div>\r\n      )\r\n    });\r\n\r\n    return (\r\n        {row}\r\n    );\r\n  }\r\n\r\n});\r\n```\r\n\r\nIf you remove the `<div></div>` in the `map`, you get the following error: *Adjacent XJS elements must be wrapped in an enclosing tag*\r\n\r\nit isn't till I re-add the surrounding, and rather pointless, divs that it compiles with out issue. I am running **0.11.1**\r\n\r\nIs this being addressed? It adds extra, and again - IMO - useless and pointless html to the page, that while harming nothing - looks messy and unprofessional. Maybe I am just doing something wrong, please enlighten me if I am.\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/facebook/react/issues/comments/90190543","html_url":"https://github.com/facebook/react/issues/2127#issuecomment-90190543","issue_url":"https://api.github.com/repos/facebook/react/issues/2127","id":90190543,"user":{"login":"natew","id":12100,"avatar_url":"https://avatars.githubusercontent.com/u/12100?v=3","gravatar_id":"","url":"https://api.github.com/users/natew","html_url":"https://github.com/natew","followers_url":"https://api.github.com/users/natew/followers","following_url":"https://api.github.com/users/natew/following{/other_user}","gists_url":"https://api.github.com/users/natew/gists{/gist_id}","starred_url":"https://api.github.com/users/natew/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/natew/subscriptions","organizations_url":"https://api.github.com/users/natew/orgs","repos_url":"https://api.github.com/users/natew/repos","events_url":"https://api.github.com/users/natew/events{/privacy}","received_events_url":"https://api.github.com/users/natew/received_events","type":"User","site_admin":false},"created_at":"2015-04-06T18:36:17Z","updated_at":"2015-04-06T18:36:17Z","body":"@aldendaniels absolutely agree, I've ran into flexbox issues already."}}