What problem does it solve?
Upgrading Ant Design between major versions involves breaking API changes, removed components, and a shift from Less to CSS-in-JS styling, making manual migration error-prone and time-consuming.
Core Features & Use Cases
- Version Upgrade Guidance: Walks through migrating from antd v4 to v5, including theme token replacement via ConfigProvider and hook API updates.
- Component Replacement Mapping: Identifies removed components like BackTop and Comment and provides their modern equivalents.
- Automated Codemod Support: Recommends the @ant-design/codemod-v5 tool for scripted transformations of deprecated patterns.
- Use Case: A team maintaining a large React application needs to upgrade from antd v4 to v5 and wants a structured checklist of breaking changes and automated tooling to handle deprecated imports.
Quick Start
Use the antd-migration skill to plan the upgrade of my React project from antd v4 to v5 and list the breaking changes I need to address.