-
I can't mount this anymore
```
var element = vidom.createNode("div").attrs( { style: { display: "block", width: "10px" } });
vidom.mountToDom(
document.getElementById("fooBar"), element);
```
N…
ghost updated
9 years ago
-
...
ghost updated
9 years ago
-
.
ghost updated
9 years ago
-
-
There are no features for setting css styles as plain text, object or as a stylesheet.
ghost updated
9 years ago
-
It just stroke my mind. Have a look at this:
https://github.com/dfilatov/vidom/blob/master/lib/nodes/TagNode.js#L122
You are treating this as attributes now as I understand. So you wouldn't need thi…
ghost updated
9 years ago
-
Hi. Just wonder if your method `this.getDomRef` is equal to `REACT findDOMNode` ?
It doesn't look like it. Couldn't it be a idea to have a `vidom.findDOMNode()` method?
Reference: https://facebook.gi…
ghost updated
9 years ago
-
You can improve the patching algoritm if you know that ChildrenA don't exist, and ChildrenB exist. OR childrenB exist and ChildrenA don't exist. This will also save memory and give better performance.…
ghost updated
9 years ago
-
Let say you have created a virtual DOM tree, and want to trigger a event on a particular node in the tree.
How you do it?
Example "change" should be "triggered" each time you e.g. click / change it.…
ghost updated
9 years ago
-
@dfilatov , hi! I try to understand the value of components abstraction and can not get it :) If I understand correctly, generally vidom component is just a node with life-cycle hooks. Can you, please…