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.
还没有人认领这个 Issue。
评估
- 难度
- 3/5
- 预计耗时
- 1-2 天
- 新手友好度
- 35/100
- Issue 类型
- 缺陷
- 描述清晰度
- 需要澄清
- 活跃度
- 停滞
- 技术栈
- react, typescript
- 领域
- frontend
调研方向
从 SingleObserver 和 ResizeObserver2 的 Component Stack 条目开始,然后跟踪 rc-tree 5.13.1 报告的 React 19 ref 访问。完成的标准是警告不再出现,并且 TypeScript 集成可与 React 19 正常工作。
由索引模型根据 Issue 内容生成。
描述
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"
- 主要语言
- TypeScript
- 星标
- 1.3k
- 派生
- 490
- 平均合并
- 3 天 17 小时
- 30 天内合并 PR
- 5
贡献指南
这个仓库没有索引到贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
react-component/tree 的其他 Issue
-
难度 2/5 1-3 小时 新手友好度 55/100
react-component/tree#1068 · 1 条评论 ·
-
难度 5/5 一周以上 新手友好度 20/100
react-component/tree#983 ·
-
难度 3/5 1-2 天 新手友好度 35/100
react-component/tree#937 ·
-
难度 5/5 一周以上 新手友好度 25/100
react-component/tree#935 ·
-
难度 5/5 一周以上 新手友好度 25/100
react-component/tree#854 · 1 条评论 ·
查看 react-component/tree 的全部 Issue
相似的 Issue
-
难度 2/5 1-3 小时 新手友好度 70/100
-
难度 2/5 1-3 小时 新手友好度 75/100
mksglu/context-mode#1200 ·
-
难度 2/5 1-3 小时 新手友好度 75/100
jaegertracing/jaeger-ui#4506 ·
-
area:desktop area:ui bug platform:macos
难度 2/5 1-3 小时 新手友好度 75/100
anthropics/claude-code#96687 ·
-
good first issue
难度 1/5 1 小时以内 新手友好度 95/100
AOSSIE-Org/DebateAI#582 · 2 条评论 ·