Closed vorg closed 8 years ago
From what I understand virtual-dom expects style property as an object while in hyperx this happens:
virtual-dom
style
hyperx
var tree = hx`<div style=${{color:'red'}}>` console.log(tree); //[Log] VirtualNode {tagName: "DIV", properties: {style: "[object Object]"}...
fixed in 1.0.3 and I added this use case to the tests
From what I understand
virtual-dom
expectsstyle
property as an object while inhyperx
this happens: