ant-design / ant-design/pro-components
🐛[BUG]ProTable在大于2.7.0版本时编译文件会报React is not define的错误
- Dominant language
- TypeScript
- Stars
- 4.8k
- Forks
- 1.4k
- Avg merge
- 10h 44m
- Merged PRs (30d)
- 3
Description
### 🐛 bug 描述
ProTable在大于2.7.0版本时编译文件会报React is not define的错误,在本地开发模式正常。
### 📷 复现步骤
"dependencies": {
"@ant-design/charts": "^1.3.6",
"@ant-design/icons": "^4.8.0",
"@ant-design/pro-card": "^2.5.26",
"@ant-design/pro-components": "2.7.0",
"@ant-design/pro-form": "^2.23.0",
"@ant-design/pro-layout": "^7.17.15",
"@ant-design/use-emotion-css": "1.0.4",
"antd": "^5.2.2"
}
Contributor guide
Research direction
Reproduce a production build using the dependency versions listed in the report and compare it with local development behavior. The payload names no source files or tests; investigate the compiled ProTable output and consider the issue done when the build no longer reports an undefined React reference.
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
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100