-
-
Notifications
You must be signed in to change notification settings - Fork 2.3k
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
[FEAT] Support Nextjs v15 #6430
Comments
Hey @jackytank thanks for the issue. Did you try using it with NextJS 15? Please let us know if you have any specific issues, so we can better help. Since it also uses app router, it shouldn't have a breaking change on our side, but we didn't test it yet. |
{
"name": "my-refine-remix-app",
"version": "0.1.0",
"private": true,
"engines": {
"node": ">=18.0.0"
},
"scripts": {
"dev": "cross-env NODE_OPTIONS=--max_old_space_size=4096 refine dev --turbo",
"build": "next build",
"start": "next start",
"lint": "next lint",
"refine": "refine"
},
"dependencies": {
"@ant-design/icons": "^5.0.1",
"@ant-design/nextjs-registry": "^1.0.1",
"@aws-sdk/client-cloudwatch": "^3.670.0",
"@aws-sdk/client-cloudwatch-logs": "^3.670.0",
"@aws-sdk/client-lambda": "^3.670.0",
"@aws-sdk/client-s3": "^3.670.0",
"@aws-sdk/client-sqs": "^3.670.0",
"@refinedev/antd": "^5.43.1",
"@refinedev/cli": "^2.16.39",
"@refinedev/core": "^4.55.0",
"@refinedev/devtools": "^1.2.9",
"@refinedev/kbar": "^1.3.6",
"@refinedev/nextjs-router": "^6.1.0",
"@refinedev/simple-rest": "^5.0.1",
"antd": "^5.21.3",
"dayjs": "^1.11.13",
"js-cookie": "^3.0.5",
"json-edit-react": "^1.17.0",
"lodash": "^4.17.21",
"next": "^15.0.1",
"react": "^18.3.1",
"react-dom": "^18.3.1",
"react-icons": "^5.3.0",
"ssh2-sftp-client": "^11.0.0"
},
"devDependencies": {
"@types/js-cookie": "^3.0.6",
"@types/lodash": "^4.17.10",
"@types/node": "^18.16.2",
"@types/react": "^18.3.11",
"@types/react-dom": "^18.3.1",
"@types/ssh2-sftp-client": "^9.0.4",
"@typescript-eslint/parser": "^6.21.0",
"cross-env": "^7.0.3",
"eslint": "^8",
"eslint-config-next": "^14.1.0",
"typescript": "^5.4.2"
}
} |
Hey @jackytank I created an example using Other than that, there are errors caused by ant design, which I should believe they should be warnings. We need to update our template to have await on I can navigate around example's pages without any issues. This means our NextJS router works as expected. None of these errors should block using Next 15 with Refine. |
oh I see so the errors are coming from Ant Design, I'll head over to antd repo and notify them to update, so I guess I need to wait a little more time until antd teams fix those errors, other than that Refine + next 13 is great |
Hello everyone, We have released support for Next.js 15 and we build an example that works with Next.js 15. But unfortunately, If you're using Refine in a headless mode, you can upgrade to Next.js 15 or create a Refine project with Next.js 15 support using the following command: npm create refine-app@latest -- --example with-nextjs-headless Upgrade NotesThere are no breaking changes in Refine usage; however, you may need to update your application for React 19 and Next.js 15. You can find detailed information in the following links: If you encounter any issues, please let us know! 🚀 |
Is your feature request related to a problem? Please describe.
❤️
Describe alternatives you've considered
❤️
Additional context
Hi I'm currently using Refine + Antd + Nextjs project in my company and the slow compiling time of Nextjs 13 is killing my teammates, so Nextjs 15 support in Refine would be great at the time being Nextjs v15.0.1 is marked as stable now
Describe the thing to improve
Luv u guys
The text was updated successfully, but these errors were encountered: