{"action":"created","issue":{"url":"https://api.github.com/repos/lhorie/mithril.js/issues/326","labels_url":"https://api.github.com/repos/lhorie/mithril.js/issues/326/labels{/name}","comments_url":"https://api.github.com/repos/lhorie/mithril.js/issues/326/comments","events_url":"https://api.github.com/repos/lhorie/mithril.js/issues/326/events","html_url":"https://github.com/lhorie/mithril.js/issues/326","id":47569726,"number":326,"title":"Feature: Inject raw DOM into mithril templates","user":{"login":"tomekwi","id":4624660,"avatar_url":"https://avatars.githubusercontent.com/u/4624660?v=3","gravatar_id":"","url":"https://api.github.com/users/tomekwi","html_url":"https://github.com/tomekwi","followers_url":"https://api.github.com/users/tomekwi/followers","following_url":"https://api.github.com/users/tomekwi/following{/other_user}","gists_url":"https://api.github.com/users/tomekwi/gists{/gist_id}","starred_url":"https://api.github.com/users/tomekwi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tomekwi/subscriptions","organizations_url":"https://api.github.com/users/tomekwi/orgs","repos_url":"https://api.github.com/users/tomekwi/repos","events_url":"https://api.github.com/users/tomekwi/events{/privacy}","received_events_url":"https://api.github.com/users/tomekwi/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":28,"created_at":"2014-11-03T07:46:00Z","updated_at":"2015-03-26T22:14:37Z","closed_at":"2015-03-26T22:14:37Z","body":"It would be great to be able to pass a HTMLElement or documentFragment as the `children` argument to the function `m()`.\r\n\r\n**Why:**\r\nWe did a test for creating ~100.000 elements – plain JS performed 3-10 times faster than Mithril (200-600 ms vs 1800-2000 ms). It would be great to avoid such performance bottlenecks by rendering these nodes outside Mithril and injecting the rendered DOM directly into the view."},"comment":{"url":"https://api.github.com/repos/lhorie/mithril.js/issues/comments/86736584","html_url":"https://github.com/lhorie/mithril.js/issues/326#issuecomment-86736584","issue_url":"https://api.github.com/repos/lhorie/mithril.js/issues/326","id":86736584,"user":{"login":"tomekwi","id":4624660,"avatar_url":"https://avatars.githubusercontent.com/u/4624660?v=3","gravatar_id":"","url":"https://api.github.com/users/tomekwi","html_url":"https://github.com/tomekwi","followers_url":"https://api.github.com/users/tomekwi/followers","following_url":"https://api.github.com/users/tomekwi/following{/other_user}","gists_url":"https://api.github.com/users/tomekwi/gists{/gist_id}","starred_url":"https://api.github.com/users/tomekwi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tomekwi/subscriptions","organizations_url":"https://api.github.com/users/tomekwi/orgs","repos_url":"https://api.github.com/users/tomekwi/repos","events_url":"https://api.github.com/users/tomekwi/events{/privacy}","received_events_url":"https://api.github.com/users/tomekwi/received_events","type":"User","site_admin":false},"created_at":"2015-03-26T22:14:37Z","updated_at":"2015-03-26T22:14:37Z","body":"So [tomekwi/mithril-n](http://github.com/tomekwi/mithril-n) is ready, tested, and used once in production (the original implementation). I'm closing this issue.\r\n\r\n@barneycarroll, many thanks for the collaboration. @lhorie, @Daiz thank you for your feedback. I really enjoyed talking with you."}}