react-component / react-component/tree
Accessing element.ref was removed in React 19. ref is now a regular prop. It will be removed from the JSX Element type in a future release.
Open
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 1.3k
- Forks
- 490
- Avg merge
- 3d 17h
- Merged PRs (30d)
- 5
Description
Component Stack:
SingleObserver index.js:10
ResizeObserver2 index.js:12
div unknown:0
RawList List.js:32
NodeList NodeList.js:74
div unknown:0
Tree2 Tree.js:33
...
Looks like this is a problem with React 19.
We use React 19 and Typescript with "rc-tree": "^5.13.1"
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 with the Component Stack entries for SingleObserver and ResizeObserver2, then trace the React 19 ref access reported for rc-tree 5.13.1. Done means the warning no longer appears and the TypeScript integration works with React 19.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- react, typescript
- Domain
- frontend
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100