Material UI v6 + Remix + Vite running with “Prop className
did not match” error
#43980
Labels
package: icons
Specific to @mui/icons
package: material-ui
Specific to @mui/material
status: waiting for maintainer
These issues haven't been looked at yet by a maintainer
v6.x migration
Steps to reproduce
Execute the following repository,
Steps:
npm run dev
Current behavior
The following will appear in your browser's console
Expected behavior
Expect no errors in the browser console.
Context
This did not occur with Material UI v5.
The code for v5 is as follows.
When I upgraded from Material UI v5 to v6, I initially got the following error with
npm run dev
.To avoid this, the following settings are added in
vite.config.ts
.Now the screen itself can be displayed, but there is an error in the browser console.
Your environment
npx @mui/envinfo
Search keywords: Remix Vite
The text was updated successfully, but these errors were encountered: