[Good First Issue] XMarkdown 多个自定义组件同时进入 loading
Open
bug
good first issue
- Dominant language
- TypeScript
- Stars
- 4.8k
- Forks
- 1.2k
- Avg merge
- 3d 3h
- Merged PRs (30d)
- 2
Description
> 🎓 OSS26 轻训营 · 个人认领题(Good First Issue)
> 关联原始 issue:#1772
### 背景
在 XMarkdown 中页面同时存在多个自定义组件时,渲染会让它们「一起进入 loading」,而非各自独立加载。
### 模块
`packages/x-markdown/src/`(自定义组件渲染 / `hooks`)
### 任务
定位 loading 状态被共享/提升的位置,改为按组件实例隔离。
### 验收
- 多自定义组件 demo
- 单测断言各组件 loading 独立
Contributor guide
No contributing guide indexed for this repository
Research direction
Start in packages/x-markdown/src/, focusing on custom-component rendering and the hooks that manage loading state. Reproduce the behavior with a demo containing multiple custom components, then add or update a unit test asserting that each component enters and leaves loading independently.
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
- Quiet
- Clarity
- Mostly clear
- Newbie friendliness
- 68/100