-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
TextField SSR: Warning: Prop id
did not match.
#1046
Comments
👋 Thanks for opening your first issue. A contributor should give feedback soon. If you haven’t already, please check out the contributing guidelines. You can also join #polaris on the Shopify Partners Slack. |
I'm also seeing this. |
Me too |
Same here |
Seeing the same issue as well |
I believe the problem has to do with the fact that the React app is being server side rendered. Inserting hooks to check and see if the componentDidMount/componentDidUpdate before displaying elements worked for me. Hope this helps!
|
This issue has been inactive for 180 days and labeled with |
Reopening this as SSR discrepancies are still an issue |
Probot. No |
This issue has been inactive for 180 days and labeled with |
Having the same issue with |
Looks like TextField SSR doesn't work properly.
There is minimalistic layout:
I'm getting error:
If i remove label props, then error is about TextField id.
If i remove TextField at all, there is no errors (so Card, Button works fine).
Expected behavior
SSR works fine
Actual behavior
Steps to reproduce the problem
Specifications
The text was updated successfully, but these errors were encountered: