Reproduction link
https://stackblitz.com/edit/nextjs-t8gqmd?file=app/page.js
Steps to reproduce
create a new NextJS13 and enable the experimental appDir in the next.config.js.
After that install antd, insert the basic form code: https://ant.design/components/form#components-form-demo-basic add 'use client' at the top and run the application.
What is expected?
no error
What is actually happening?
getting an hydration error
Environment | Info |
---|---|
antd | 5.1.5 |
React | 18.2.0 |
System | Windows |
Browser | Chrome |
seems to be an issue with the <Input.Password /> or
3条答案
按热度按时间ax6ht2ek1#
You may look for issues:
🤖 By issues-similarity-analysis
q5iwbnjs2#
I can't see any Hydration error in your stackblitz, anything I miss?
yquaqz183#
Sorry i forgot to mention it: Try to open it in a new Tab.