Create a root
UIContainer
RootNode creates a UIContainer with these operations:
UINode
Node types
The React integration supports the nodes listed in the Nodes reference. ThebottomSheet and gestureDetector nodes are experimental. The direct-node API does not add
intrinsic JSX nodes that are absent from the React declaration surface.
Direct-node guidance
- Keep all mutations on the runtime’s UI execution path.
- Pass the previous props when removing properties that disappeared from a render pass.
- Detach children before tearing down a subtree.
- Prefer React UI for new components unless direct reconciliation is a requirement.