Skip to content

Commit 13f6a3c

Browse files
authored
Update TODO.md
1 parent f15481b commit 13f6a3c

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

TODO.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -79,6 +79,11 @@ Node mounting order is extremely important for the correct rendering of the UIs.
7979

8080
For example, with uplot, not having all the siblings mounted, results in incorrect width assignment. When all the child nodes are set to auto layout with flex, uplot should get access to the node reference only after all nodes have been mounted. That is, when the parent is mounted itself, for example.
8181

82+
### Notes
83+
84+
- `Html.on_mount` can be currently used to run callbacks once the html component is fully mounted. Where "mounted" means: elem initialized, inserted into parent, attributes are set, children are mounted.
85+
- An alternative approach is to differentiate Html.attr values between: early and late. Late attributes must be called at the same moment as described in the previous point.
86+
8287
### Invariants
8388

8489
- The node MUST be mounted when the attributes are set.

0 commit comments

Comments
 (0)