Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Hidden flag for nodes #216

Open
harrycollin opened this issue Jan 22, 2024 · 1 comment
Open

Hidden flag for nodes #216

harrycollin opened this issue Jan 22, 2024 · 1 comment

Comments

@harrycollin
Copy link

It would be great if we can exclude nodes from rendering based on a flag/property in the data (Example: hidden: true). My data structure contains children that shouldn't be rendered. Reconstructing the data would be difficult and would break references in other parts of my app. I feel like this should be something that's quite simple. Perhaps I've even missed something in the documentation which allows for this behaviour.

@jameskerr
Copy link
Member

Interesting use case. I suppose this could be added in a future version.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants