react-component / react-component/tree
Support only load select node-data
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 1.3k
- Forks
- 490
- Avg merge
- 3d 17h
- Merged PRs (30d)
- 5
Description
Can support only load user-select node-data.
my tree
(<Tree
// defaultExpandedKeys={['0-0']}
loadData={async (treeNode)=> this.loadData(treeNode)}
treeData={this.state.treeData}
/>);
I must update whole this.state.treeData when trigger loadData,
loop list of treeData will cost long time,
so i want a mode that can only load need-load-data and get whole data by something such as tree-ref,
I don't find anything about this with doc.
Is supporting ?
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
Start at the Tree component's loadData and treeData handling, then examine how a tree ref could expose the loaded data. Clarify the expected API for loading only the selected node and define done as avoiding a full treeData update while still making the complete tree data available.
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