{"action":"created","issue":{"url":"https://api.github.com/repos/paldepind/snabbdom/issues/31","labels_url":"https://api.github.com/repos/paldepind/snabbdom/issues/31/labels{/name}","comments_url":"https://api.github.com/repos/paldepind/snabbdom/issues/31/comments","events_url":"https://api.github.com/repos/paldepind/snabbdom/issues/31/events","html_url":"https://github.com/paldepind/snabbdom/issues/31","id":112895184,"number":31,"title":"Snabbdom patches over given container","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},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":5,"created_at":"2015-10-22T21:26:53Z","updated_at":"2015-10-23T07:53:28Z","closed_at":"2015-10-23T06:42:40Z","body":"While I've been writing my intergration for snabbdom with Cycle.js, I've come to notice  that running for example `patch(document.querySelector('.app'), view)`, snabbdom is actually patching *over* `.app`. However my needs are for the view to be appended to `.app`, because I need to listen to events relative to `.app`. Is there a way to do this currently or is it possible to add support for this? I'd be happy to submit a PR if it is needed and would be accepted.\r\n\r\nThank you for your time."},"comment":{"url":"https://api.github.com/repos/paldepind/snabbdom/issues/comments/150500379","html_url":"https://github.com/paldepind/snabbdom/issues/31#issuecomment-150500379","issue_url":"https://api.github.com/repos/paldepind/snabbdom/issues/31","id":150500379,"user":{"login":"paldepind","id":521604,"avatar_url":"https://avatars.githubusercontent.com/u/521604?v=3","gravatar_id":"","url":"https://api.github.com/users/paldepind","html_url":"https://github.com/paldepind","followers_url":"https://api.github.com/users/paldepind/followers","following_url":"https://api.github.com/users/paldepind/following{/other_user}","gists_url":"https://api.github.com/users/paldepind/gists{/gist_id}","starred_url":"https://api.github.com/users/paldepind/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/paldepind/subscriptions","organizations_url":"https://api.github.com/users/paldepind/orgs","repos_url":"https://api.github.com/users/paldepind/repos","events_url":"https://api.github.com/users/paldepind/events{/privacy}","received_events_url":"https://api.github.com/users/paldepind/received_events","type":"User","site_admin":false},"created_at":"2015-10-23T07:53:28Z","updated_at":"2015-10-23T07:53:28Z","body":"I'd like to hear why you prefer the other behaviour? I like to do stuff like this\r\n\r\n```js\r\npatch(document.body, h('body', /* something something vnode */ );\r\n```"}}