{"action":"created","issue":{"url":"https://api.github.com/repos/lhorie/mithril.js/issues/1826","repository_url":"https://api.github.com/repos/lhorie/mithril.js","labels_url":"https://api.github.com/repos/lhorie/mithril.js/issues/1826/labels{/name}","comments_url":"https://api.github.com/repos/lhorie/mithril.js/issues/1826/comments","events_url":"https://api.github.com/repos/lhorie/mithril.js/issues/1826/events","html_url":"https://github.com/lhorie/mithril.js/issues/1826","id":225275478,"number":1826,"title":"vnode.dom in component with array at the top level returns the first child","user":{"login":"CreaturesInUnitards","id":11707769,"avatar_url":"https://avatars2.githubusercontent.com/u/11707769?v=3","gravatar_id":"","url":"https://api.github.com/users/CreaturesInUnitards","html_url":"https://github.com/CreaturesInUnitards","followers_url":"https://api.github.com/users/CreaturesInUnitards/followers","following_url":"https://api.github.com/users/CreaturesInUnitards/following{/other_user}","gists_url":"https://api.github.com/users/CreaturesInUnitards/gists{/gist_id}","starred_url":"https://api.github.com/users/CreaturesInUnitards/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/CreaturesInUnitards/subscriptions","organizations_url":"https://api.github.com/users/CreaturesInUnitards/orgs","repos_url":"https://api.github.com/users/CreaturesInUnitards/repos","events_url":"https://api.github.com/users/CreaturesInUnitards/events{/privacy}","received_events_url":"https://api.github.com/users/CreaturesInUnitards/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":11,"created_at":"2017-04-29T18:19:52Z","updated_at":"2017-05-01T15:48:56Z","closed_at":null,"body":"**Expected:**\r\nvnode.dom would return a NodeList or an Array\r\n\r\n**Actual:**\r\n```\r\nvar component = {\r\n     oncreate: function(vnode){\r\n          console.log(vnode.dom)\r\n     },\r\n     view: function(){\r\n          return [\r\n               m('.first'),\r\n               m('.second')\r\n          ]\r\n     }\r\n}\r\n```\r\n\r\nThis example logs out ```<div class=\"first\"></div>```"},"comment":{"url":"https://api.github.com/repos/lhorie/mithril.js/issues/comments/298359015","html_url":"https://github.com/lhorie/mithril.js/issues/1826#issuecomment-298359015","issue_url":"https://api.github.com/repos/lhorie/mithril.js/issues/1826","id":298359015,"user":{"login":"CreaturesInUnitards","id":11707769,"avatar_url":"https://avatars2.githubusercontent.com/u/11707769?v=3","gravatar_id":"","url":"https://api.github.com/users/CreaturesInUnitards","html_url":"https://github.com/CreaturesInUnitards","followers_url":"https://api.github.com/users/CreaturesInUnitards/followers","following_url":"https://api.github.com/users/CreaturesInUnitards/following{/other_user}","gists_url":"https://api.github.com/users/CreaturesInUnitards/gists{/gist_id}","starred_url":"https://api.github.com/users/CreaturesInUnitards/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/CreaturesInUnitards/subscriptions","organizations_url":"https://api.github.com/users/CreaturesInUnitards/orgs","repos_url":"https://api.github.com/users/CreaturesInUnitards/repos","events_url":"https://api.github.com/users/CreaturesInUnitards/events{/privacy}","received_events_url":"https://api.github.com/users/CreaturesInUnitards/received_events","type":"User","site_admin":false},"created_at":"2017-05-01T15:48:56Z","updated_at":"2017-05-01T15:48:56Z","body":"@isiahmeadows LGTM, with the single stipulation (from where I sit) that if this negatively impacts perf in the non-array scenarios I'd say ditch it, call it academic, and Let Us Never Speak of This Again."}}
{"actor":{"display_login":"CreaturesInUnitards"}}