react-component / react-component/tree
Is there a way to show/hide a few nodes in the tree?
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 1.3k
- Forks
- 490
- Avg merge
- 3d 17h
- Merged PRs (30d)
- 5
Description
I wanted to implement filtering on tree nodes, is there a way to show/hide few nodes in the tree while they exist in DOM?
Note that tree data is loaded async by an API call and each node expansion also is an async operation which will API call to get data and render child nodes based on it.
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
The issue names no files or tests. Start by tracing tree node rendering and the async API-based expansion flow described in the issue, then determine how filtering should behave for nodes that remain in the DOM. Done should include a defined show/hide behavior for asynchronously loaded nodes and verification that expansion still works.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- react, typescript
- Domain
- frontend
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100