-
Notifications
You must be signed in to change notification settings - Fork 2.4k
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
support next14 and update doc #6499
Comments
"use client" ? |
yes~ |
解决了吗 |
我这边是没问题的 |
Same happen to me. Are you using the |
yes, Pages router. app router it works |
Same here, using pages router in Next 14.0.4, got an error just importing Image component |
Page route in Next 14.1.0, antd-mobile 5.34.0, just import Button, has same error. |
NextJS 14.1.3, 问题仍然存在 |
To manually install ahooks version 3.7.2 and configure the transpilePackages option to include 'antd-mobile' |
+1 |
我也有同样的问题 |
It's time to deal with this problem |
+1 |
Version of antd-mobile
^5.33.2
Operating system and its version
Others
Browser and its version
chrome
Sandbox to reproduce
No response
What happened?
when i added "antd-mobile": "^5.33.2" to "next": "^14.0.3", then i imported button component, got error _ahooks.createUpdateEffect
⨯ node_modules/antd-mobile/cjs/utils/use-isomorphic-update-layout-effect.js (8:72) @ _ahooks
⨯ TypeError: (0 , _ahooks.createUpdateEffect) is not a function
Relevant log output
No response
The text was updated successfully, but these errors were encountered: