{"action":"created","issue":{"url":"https://api.github.com/repos/MVCoconut/coconut.vdom/issues/8","repository_url":"https://api.github.com/repos/MVCoconut/coconut.vdom","labels_url":"https://api.github.com/repos/MVCoconut/coconut.vdom/issues/8/labels{/name}","comments_url":"https://api.github.com/repos/MVCoconut/coconut.vdom/issues/8/comments","events_url":"https://api.github.com/repos/MVCoconut/coconut.vdom/issues/8/events","html_url":"https://github.com/MVCoconut/coconut.vdom/issues/8","id":305402204,"number":8,"title":"Can't use vdom.Foreign in new version","user":{"login":"kevinresol","id":1103788,"avatar_url":"https://avatars0.githubusercontent.com/u/1103788?v=4","gravatar_id":"","url":"https://api.github.com/users/kevinresol","html_url":"https://github.com/kevinresol","followers_url":"https://api.github.com/users/kevinresol/followers","following_url":"https://api.github.com/users/kevinresol/following{/other_user}","gists_url":"https://api.github.com/users/kevinresol/gists{/gist_id}","starred_url":"https://api.github.com/users/kevinresol/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kevinresol/subscriptions","organizations_url":"https://api.github.com/users/kevinresol/orgs","repos_url":"https://api.github.com/users/kevinresol/repos","events_url":"https://api.github.com/users/kevinresol/events{/privacy}","received_events_url":"https://api.github.com/users/kevinresol/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2018-03-15T03:21:03Z","updated_at":"2018-03-15T07:42:46Z","closed_at":null,"author_association":"CONTRIBUTOR","body":"```haxe\r\npackage;\r\n\r\nimport tink.state.*;\r\nimport coconut.Ui.*;\r\nimport js.Browser.*;\r\n\r\nclass Main {\r\n    static function main()\r\n        hxx('<Editor key=${this} onChange=${onChange}/>');\r\n    \r\n    static function onChange(v:String)\r\n        trace(v);\r\n}\r\n\r\n\r\ntypedef Data = {\r\n    @:optional var onChange(default, never):String->Void;\r\n}\r\n\r\nclass Editor extends vdom.Foreign {\r\n    \r\n    public function new(data:Observable<Data>) {\r\n        super(document.createDivElement());\r\n    }\r\n}\r\n```\r\n\r\n`src/Main.hx:9: characters 15-21 : <Editor/> must have exactly one spread and no other attributes`"},"comment":{"url":"https://api.github.com/repos/MVCoconut/coconut.vdom/issues/comments/373288417","html_url":"https://github.com/MVCoconut/coconut.vdom/issues/8#issuecomment-373288417","issue_url":"https://api.github.com/repos/MVCoconut/coconut.vdom/issues/8","id":373288417,"user":{"login":"kevinresol","id":1103788,"avatar_url":"https://avatars0.githubusercontent.com/u/1103788?v=4","gravatar_id":"","url":"https://api.github.com/users/kevinresol","html_url":"https://github.com/kevinresol","followers_url":"https://api.github.com/users/kevinresol/followers","following_url":"https://api.github.com/users/kevinresol/following{/other_user}","gists_url":"https://api.github.com/users/kevinresol/gists{/gist_id}","starred_url":"https://api.github.com/users/kevinresol/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kevinresol/subscriptions","organizations_url":"https://api.github.com/users/kevinresol/orgs","repos_url":"https://api.github.com/users/kevinresol/repos","events_url":"https://api.github.com/users/kevinresol/events{/privacy}","received_events_url":"https://api.github.com/users/kevinresol/received_events","type":"User","site_admin":false},"created_at":"2018-03-15T07:42:46Z","updated_at":"2018-03-15T07:42:46Z","author_association":"CONTRIBUTOR","body":"But then I couldn't watch for changes in the `Foreign`?"}}
{"actor":{"display_login":"kevinresol"}}