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
#929 0 comments 0 reactions 0 assignees View on GitHub

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

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.