ant-design / ant-design/x

[Good First Issue] XMarkdown 多个自定义组件同时进入 loading

Open
#1,949 1 comment 1 reaction 0 assignees View on GitHub
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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.