-
Notifications
You must be signed in to change notification settings - Fork 184
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
reactRender is not a function when using Antd with NextJS App Router #606
Comments
it's confused me,too |
I have downgraded the version of Next to 14 to resolve the reactRender issue, and I will change the version back after the official fix. I have not encountered the "unexpected token" problem you mentioned, and my current use of Ant Design components is normal. |
@whatdfjslfjldks Which versions of Next.js and Ant Design (antd) are being used in your project? |
@whatdfjslfjldks I'm using the same |
I tried downgrade NextJS version to 14.2.20 and the problem was resolved, but with version 15.1.0 it was not |
|
I'm not sure what caused this, maybe you can try updating the TypeScript version cuz the tip "dependency "typescript@>=4.8.4 <5.8.0". |
@prakashmallow That's page router |
@baoanh177 Yes. I'm using page router |
@baoanh177 We are facing issues when running the next 14.2.20 |
@zombieJ @afc163 I'm currently facing the below issue with the |
the same problem, for example:#550, react 19 version |
|
I'm initializing a NextJS AppRouter project with Antd. I've been looking for a solution but can't find it, can anyone help me, pls.
Here are project dependencies:
src/app/layout.tsx
src/app/page.tsx
It works until I click the button, console.log() ran but with errors
The text was updated successfully, but these errors were encountered: