Understand react-arborist domain models
mainTo work effectively with react-arborist, it is helpful to understand its core domain models:
- Tree View: The main component that renders the UI.
- Source Data: The raw data you provide to the library.
- Node Object: The interface expected by the
TreeManagerandTreeController. - Source Data Proxy: A wrapper around your Source Data that conforms to the
NodeObjectinterface and includes methods for mutating the underlying data. - Tree Manager: Responsible for responding to change events from the
TreeView. - Tree Controller: The programming API used to interact with the tree.
- Node Controller: The programming API used to interact with a specific node.
- Partial Controller: An object containing
valueandonChangeproperties, used to manage slices of component state.