Is your feature request related to a problem? Please describe.
react-native support would be great!
Describe the solution you'd like
Maybe plugins could be conditionally loaded to support either react-dom or react-native?
Describe alternatives you've considered
For now I have to maintain two tree implementations; one using headless-tree for web and the other using react-native-tree-multi-select for native.
Additional context
When I've tried headless-tree in react-native I recieve errors from what I think are properties missing from DOM calls:
// TypeError: undefined is not a function
const children = tree.retrieveChildrenIds(rootItemId);
Is your feature request related to a problem? Please describe.
react-nativesupport would be great!Describe the solution you'd like
Maybe plugins could be conditionally loaded to support either
react-domorreact-native?Describe alternatives you've considered
For now I have to maintain two tree implementations; one using
headless-treefor web and the other usingreact-native-tree-multi-selectfor native.Additional context
When I've tried
headless-treeinreact-nativeI recieve errors from what I think are properties missing from DOM calls: