Replies: 3 comments 11 replies
-
The link seems to have moved to: You need to install a compatibility package, because of changes made in React 19.
|
Beta Was this translation helpful? Give feedback.
-
I downgraded react and react-dom to ^18, removed .next and node_modules, run npm install, start the project, and the warning still appears. |
Beta Was this translation helpful? Give feedback.
-
I resolved the React 19 + Ant Design v5 compatibility warning with the following setup in my Next.js 15.5 project: 1. Installed Compatibility Packagesnpm install @ant-design/v5-patch-for-react-19 --save
npm install @ant-design/nextjs-registry --save 2. app/layout.tsx Configuration
![]() ![]() 3. package.json Scripts
![]() 4. Cleared the Build Cache
5. After Restarting, No Compatibility Warning
|
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Summary
Additional information
No response
Example
No response
Beta Was this translation helpful? Give feedback.
All reactions