Skip to content

Feature request: react-native support #188

@wallzero

Description

@wallzero

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);

Metadata

Metadata

Assignees

Labels

No labels
No labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions