It uses use-tree-state hook internally for convenient state management.