Re:Asm-Dom – WebAssembly Virtual DOM
by mbasso on Sunday May 21, 2017 @06:37AM
(#14386631)
Yes! h always returns a memory address to a VNode. In C++ this address is reinterpreted in a VNode, that contains others VNode as children. If you decide to manually manage the memory, you can implement some interesting mechanism to diff vnodes and create vdom trees.
To do this, I have to develop some APIs that allows you, for example, to replace a children with another and so on. This is certainly on the roadmap!
[ Parent
| on HN ]
There are no comments on this comment yet.