Skip to content
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 supporting React 18 #38926

Closed
nikhilatkan opened this issue Sep 11, 2023 · 2 comments
Closed

MUI not supporting React 18 #38926

nikhilatkan opened this issue Sep 11, 2023 · 2 comments
Assignees
Labels
package: material-ui Specific to @mui/material status: waiting for author Issue with insufficient information

Comments

@nikhilatkan
Copy link

nikhilatkan commented Sep 11, 2023

`import './App.css';
import * as React from 'react';
import Button from '@mui/material/Button';
import Menu from '@mui/material/Menu';
import MenuItem from '@mui/material/MenuItem';

function App() {

const [anchorEl, setAnchorEl] = React.useState(null);
const open = Boolean(anchorEl);
const handleClick = (event) => {
setAnchorEl(event.currentTarget);
};
const handleClose = () => {
setAnchorEl(null);
};
return (

<Button
id="basic-button"
aria-controls={open ? 'basic-menu' : undefined}
aria-haspopup="true"
aria-expanded={open ? 'true' : undefined}
onClick={handleClick}

Dashboard

Profile My account Logout

);
}
export default App;`

this is the code I am using and getting this error - Uncaught (in promise) TypeError: Converting circular structure to JSON
--> starting at object with constructor 'Object'
--- property '__emotion_real' closes the circle

Is this information enough?

@nikhilatkan nikhilatkan added the status: waiting for maintainer These issues haven't been looked at yet by a maintainer label Sep 11, 2023
@zannager zannager added the package: system Specific to @mui/system label Sep 12, 2023
@zannager zannager added the package: material-ui Specific to @mui/material label Sep 12, 2023
@DiegoAndai
Copy link
Member

Hey @nikhilatkan! Please provide a minimal reproduction test case with the latest version. This would help a lot 👷. A live example would be perfect. This codesandbox.io template may be a good starting point. Thank you!

@DiegoAndai DiegoAndai added status: waiting for author Issue with insufficient information and removed status: waiting for maintainer These issues haven't been looked at yet by a maintainer package: system Specific to @mui/system labels Sep 12, 2023
@github-actions
Copy link

Since the issue is missing key information and has been inactive for 7 days, it has been automatically closed. If you wish to see the issue reopened, please provide the missing information.

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 author Issue with insufficient information
Projects
None yet
Development

No branches or pull requests

3 participants