{"action":"created","issue":{"url":"https://api.github.com/repos/paldepind/snabbdom/issues/4","labels_url":"https://api.github.com/repos/paldepind/snabbdom/issues/4/labels{/name}","comments_url":"https://api.github.com/repos/paldepind/snabbdom/issues/4/comments","events_url":"https://api.github.com/repos/paldepind/snabbdom/issues/4/events","html_url":"https://github.com/paldepind/snabbdom/issues/4","id":86007156,"number":4,"title":"Add svg support","user":{"login":"theadam","id":850881,"avatar_url":"https://avatars.githubusercontent.com/u/850881?v=3","gravatar_id":"","url":"https://api.github.com/users/theadam","html_url":"https://github.com/theadam","followers_url":"https://api.github.com/users/theadam/followers","following_url":"https://api.github.com/users/theadam/following{/other_user}","gists_url":"https://api.github.com/users/theadam/gists{/gist_id}","starred_url":"https://api.github.com/users/theadam/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/theadam/subscriptions","organizations_url":"https://api.github.com/users/theadam/orgs","repos_url":"https://api.github.com/users/theadam/repos","events_url":"https://api.github.com/users/theadam/events{/privacy}","received_events_url":"https://api.github.com/users/theadam/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/paldepind/snabbdom/labels/enhancement","name":"enhancement","color":"84b6eb"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":16,"created_at":"2015-06-08T03:25:45Z","updated_at":"2015-11-19T21:18:02Z","closed_at":null,"body":"Could this possibly be done with an extension?"},"comment":{"url":"https://api.github.com/repos/paldepind/snabbdom/issues/comments/158200898","html_url":"https://github.com/paldepind/snabbdom/issues/4#issuecomment-158200898","issue_url":"https://api.github.com/repos/paldepind/snabbdom/issues/4","id":158200898,"user":{"login":"TylorS","id":6282473,"avatar_url":"https://avatars.githubusercontent.com/u/6282473?v=3","gravatar_id":"","url":"https://api.github.com/users/TylorS","html_url":"https://github.com/TylorS","followers_url":"https://api.github.com/users/TylorS/followers","following_url":"https://api.github.com/users/TylorS/following{/other_user}","gists_url":"https://api.github.com/users/TylorS/gists{/gist_id}","starred_url":"https://api.github.com/users/TylorS/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/TylorS/subscriptions","organizations_url":"https://api.github.com/users/TylorS/orgs","repos_url":"https://api.github.com/users/TylorS/repos","events_url":"https://api.github.com/users/TylorS/events{/privacy}","received_events_url":"https://api.github.com/users/TylorS/received_events","type":"User","site_admin":false},"created_at":"2015-11-19T21:18:02Z","updated_at":"2015-11-19T21:18:02Z","body":"That looks like a simple solution to me! Do you think there will be any noticeable performance issues performing the recursion over the children like that?\r\n\r\nVirtual-dom does is slightly differently (without the recursion), by using `svg('svg', {}, [ svg('circle', {}, [])])`. Where svg() adds the namespace to the supplied tagName, not all of its children. \r\n\r\nIf the performance is negligible I like the proposed solution **much** more from a usability standpoint. "}}