ant-design / ant-design/compatible
为什么1.1.2版本的peer dependencies中限制antd为3.x
Open
- Dominant language
- TypeScript
- Stars
- 93
- Forks
- 29
- PR merge metrics
- No merged PRs in 30d
Description
1.1.2版本的@ant-design/compatible中的package.json里写有peer dependencies, antd为3.x。我理解这个是v3升级到v4的兼容包,那么宿主环境中装的antd版本应该是v4的,这里为什么要这么限制呢?同时因为我的项目必须升级至react17以上,所以也不可能有antd3共存在项目中。
Contributor guide
No contributing guide indexed for this repository
Research direction
Start by inspecting the package.json for @ant-design/compatible version 1.1.2, especially its peerDependencies entry for antd. Check how that constraint relates to the package’s stated v3-to-v4 compatibility and React 17 requirements. Done means the expected host antd version and the reason for the constraint are documented or the dependency declaration is corrected.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- react, typescript
- Domain
- developer-experience
- Issue type
- Bug
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100