-
-
Notifications
You must be signed in to change notification settings - Fork 32.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
MUI not compatible with Remix #44993
Labels
package: material-ui
Specific to @mui/material
status: waiting for maintainer
These issues haven't been looked at yet by a maintainer
Comments
davidbielik
added
the
status: waiting for maintainer
These issues haven't been looked at yet by a maintainer
label
Jan 12, 2025
Updates: swapping react dependencies to canary versions remove that hydration issue and solve the contained/text issue, but shows a different error: -"react": "^18.2.0",
-"react-dom": "^18.2.0"
+"react": "18.3.0-canary-01ab35a9a-20240228",
+"react-dom": "18.3.0-canary-01ab35a9a-20240228", New hydration error
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
package: material-ui
Specific to @mui/material
status: waiting for maintainer
These issues haven't been looked at yet by a maintainer
Steps to reproduce
Steps:
npx create-remix@latest remix-mui-bug
npm install @mui/material @emotion/react @emotion/styled
<Button>
Current behavior
Hydration errors (and also for some reason the button converts from
variant="contained"
tovariant="text"
upon hydration?)Expected behavior
I should be able to
npm install
mui and not have hydration errorsContext
I followed the advice here: #39765 by adding this provider but still seeing the error
Your environment
npx @mui/envinfo
Search keywords: remix Warning: Prop
charSet
did not match. Server: "null" Client: "utf-8" Error Component StackThe text was updated successfully, but these errors were encountered: