[BUG]Ref can not attach because multiple copies of Rax are used.
Open
Bug
- Dominant language
- JavaScript
- Stars
- 8k
- Forks
- 611
- PR merge metrics
- No merged PRs in 30d
Description
给 render 组件设置 ref 无效,会错误的提示有多个 rax 版本,但其实只有一个
ref 必须在组件内部使用么?
**To Reproduce**
```javascript
render(
{}}>
document.getElementById('root'),
{ driver: UniversalDriver }
);
```
- Device: Mac
- OS: Mac
- Browser chrome
- Rax Version 1.1.3
Contributor guide
Research direction
Start by reproducing the provided ref example with Rax 1.1.3, UniversalDriver, and Chrome, then trace the render path that reports multiple Rax versions. Done means the example accepts a ref with one Rax installation without the duplicate-version error.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript
- Domain
- frontend
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100