MVCoconut / coconut.ui

Wow, such reactive view! Much awesome!
The Unlicense
89 stars 9 forks source link

xDOM incompatibility in haxe4rc5 #45

Closed kevinresol closed 5 years ago

kevinresol commented 5 years ago
class Main extends coconut.ui.View {
    @:ref var img:js.html.ImageElement;
    function render() '<img ref=${img}/>';
    static function main() {}
}

This use to work but in rc5 I get js.html.ImageElement should be Null<coconut.ui.Ref<xdom.Wrapped<js.html.ImageElement>>>

back2dos commented 5 years ago

Turns out to be a coconut.ui issue (sorta).