Skip to content

Commit

Permalink
Update TODO.md
Browse files Browse the repository at this point in the history
  • Loading branch information
rizo authored Oct 22, 2024
1 parent 23c785c commit 5d462f2
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions TODO.md
Original file line number Diff line number Diff line change
Expand Up @@ -71,3 +71,10 @@ This leads to:
```
Fatal error: exception Failure("bug: attempting to remove a text node without a parent: Int")
```


## mounting order issues

Node mounting order is extremely important for the correct rendering of the UIs. Certain libraries, such as uplot, require a reference to a node to be rendered. If this node is not mounted or if the sibling nodes are not fully mounted, this can lead to issues.

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.

0 comments on commit 5d462f2

Please sign in to comment.