ant-design / ant-design/pro-components
🧐[问题] 咨询,这些 ConfigProvider 对性能有影响吗?
- Dominant language
- TypeScript
- Stars
- 4.8k
- Forks
- 1.4k
- Avg merge
- 10h 44m
- Merged PRs (30d)
- 3
Description
提问前先看看:
https://github.com/ryanhanwu/How-To-Ask-Questions-The-Smart-Way/blob/main/README-zh_CN.md
### 🧐 问题描述
简单的几行代码,但是渲染后好像创建了很多层的React内容,这些 ConfigProvider 对性能应该没有什么影响的吧?

### 💻 示例代码
```tsx
root.render(
container || document.body}
>
);
```
### 🚑 其他信息
Contributor guide
Research direction
Start with the root.render example in the issue and profile the nested HelmetProvider, ConfigProvider, and ProConfigProvider arrangement during rendering. Compare the observed provider tree and render timings with a simpler arrangement. Done means documenting whether the providers cause a meaningful performance impact and identifying reproducible evidence.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- react, typescript
- Domain
- frontend
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100