{"action":"created","issue":{"url":"https://api.github.com/repos/zeit/next.js/issues/4682","repository_url":"https://api.github.com/repos/zeit/next.js","labels_url":"https://api.github.com/repos/zeit/next.js/issues/4682/labels{/name}","comments_url":"https://api.github.com/repos/zeit/next.js/issues/4682/comments","events_url":"https://api.github.com/repos/zeit/next.js/issues/4682/events","html_url":"https://github.com/zeit/next.js/pull/4682","id":336395086,"node_id":"MDExOlB1bGxSZXF1ZXN0MTk3ODU5Njkx","number":4682,"title":"removed unecessary fragment","user":{"login":"AndyOGo","id":914443,"node_id":"MDQ6VXNlcjkxNDQ0Mw==","avatar_url":"https://avatars1.githubusercontent.com/u/914443?v=4","gravatar_id":"","url":"https://api.github.com/users/AndyOGo","html_url":"https://github.com/AndyOGo","followers_url":"https://api.github.com/users/AndyOGo/followers","following_url":"https://api.github.com/users/AndyOGo/following{/other_user}","gists_url":"https://api.github.com/users/AndyOGo/gists{/gist_id}","starred_url":"https://api.github.com/users/AndyOGo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AndyOGo/subscriptions","organizations_url":"https://api.github.com/users/AndyOGo/orgs","repos_url":"https://api.github.com/users/AndyOGo/repos","events_url":"https://api.github.com/users/AndyOGo/events{/privacy}","received_events_url":"https://api.github.com/users/AndyOGo/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2018-06-27T21:33:09Z","updated_at":"2018-06-28T19:36:39Z","closed_at":null,"author_association":"NONE","pull_request":{"url":"https://api.github.com/repos/zeit/next.js/pulls/4682","html_url":"https://github.com/zeit/next.js/pull/4682","diff_url":"https://github.com/zeit/next.js/pull/4682.diff","patch_url":"https://github.com/zeit/next.js/pull/4682.patch"},"body":"fixes #4681 \r\nimproves #4031"},"comment":{"url":"https://api.github.com/repos/zeit/next.js/issues/comments/401148870","html_url":"https://github.com/zeit/next.js/pull/4682#issuecomment-401148870","issue_url":"https://api.github.com/repos/zeit/next.js/issues/4682","id":401148870,"node_id":"MDEyOklzc3VlQ29tbWVudDQwMTE0ODg3MA==","user":{"login":"AndyOGo","id":914443,"node_id":"MDQ6VXNlcjkxNDQ0Mw==","avatar_url":"https://avatars1.githubusercontent.com/u/914443?v=4","gravatar_id":"","url":"https://api.github.com/users/AndyOGo","html_url":"https://github.com/AndyOGo","followers_url":"https://api.github.com/users/AndyOGo/followers","following_url":"https://api.github.com/users/AndyOGo/following{/other_user}","gists_url":"https://api.github.com/users/AndyOGo/gists{/gist_id}","starred_url":"https://api.github.com/users/AndyOGo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AndyOGo/subscriptions","organizations_url":"https://api.github.com/users/AndyOGo/orgs","repos_url":"https://api.github.com/users/AndyOGo/repos","events_url":"https://api.github.com/users/AndyOGo/events{/privacy}","received_events_url":"https://api.github.com/users/AndyOGo/received_events","type":"User","site_admin":false},"created_at":"2018-06-28T19:36:39Z","updated_at":"2018-06-28T19:36:39Z","author_association":"NONE","body":"@timneutkens \r\nHmh, good point.\r\nAt least since React `16` components can render Arrays too, docs:\r\nhttps://reactjs.org/docs/react-component.html#render\r\n\r\nAnd in my local tests it works with Inferno `5`.\r\n\r\nThough I agree it should be tested with other React-like libs like Preact and so on too.\r\nI could also imagine that returning a keyed Array of JSX could be better solution for cross React-like library support, similiar to:\r\n\r\n```js\r\nClass Container extends Componenet {\r\n  render () {\r\n     const {children} = this.props\r\n\r\n     if (Array.isArray(children) {\r\n       return children.map((child, index) => child.key = index && child)\r\n     }\r\n\r\n     return children\r\n   }\r\n }\r\n```\r\n"}}
{"actor":{"display_login":"AndyOGo"}}