Closed cedvdb closed 7 years ago
Actually, the code uses the virtual-dom module for creating VNodes. The problem might be a version mismatch, though. Could you check that?
Just noticed: you're calling createElement on d
, when you should be calling it on t
. ;)
I can't manage to use this with virtual-dom. If I pass a virtual node made through your library to virtual-dom createElement method, the return value is always null because the type of the object isn't VirtualNode.
Here is a quick sample trying to change a div into vdom: