Ant Design 5 upgrade
A gradual upgrade that never blocked product work.
5 sites and 200+ pages migrated

- 2024
- Ant Design
- pnpm
- Monorepo
Background
Ant Design 5 promised simpler styling, a lighter date library and a path to newer React.js and Next.js. But four teams shared one codebase, and upgrading everything at once would have stopped their product work.
What I did
- Wrote the migration plan that all four teams used to discuss and agree the work.
- Helped write a transitional library so teams could convert at their own pace.
- Worked with the infrastructure team so each site could run its own version of the library.
What changed
- All four teams finished moving from version 4 to 5 without pausing product development.
- The Ant Design version no longer stands in the way of later Next.js App Router upgrades.
Problems along the way
Four teams, four sets of priorities
Early discussions stalled because the teams' goals and capacity didn't line up, and our package setup forced an all-at-once upgrade. We postponed, and I kept guides on the differences between versions so new code avoided what was going away. Once the infrastructure team helped us move from yarn to pnpm, teams could convert piece by piece.


