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

Is there any upgrade to MUI v5 and React 18? #3231

Open
tiavina-mika opened this issue Nov 12, 2023 · 3 comments
Open

Is there any upgrade to MUI v5 and React 18? #3231

tiavina-mika opened this issue Nov 12, 2023 · 3 comments
Labels

Comments

@tiavina-mika
Copy link

We want to use material-table, but we are using material-ui latest version.
Thanks

@emmanuelpineda
Copy link

Is there a plan to make it compatible with react 18 and mui 5? we are waiting for a new version.
Thank you!

@SheldonWBM
Copy link

SheldonWBM commented Jan 8, 2024

material-table ^2.0.5 is working fine with Vite 5, Yarn 4, React 18 and:

    "material-table": "^2.0.5",
    "@mui/base": "^5.0.0-beta.30",
    "@mui/icons-material": "^5.15.3",
    "@mui/lab": "5.0.0-alpha.159",
    "@mui/material": "^5.15.3",
    "@mui/styles": "^5.15.3",
    "@mui/system": "^5.15.3",

I ignore the warnings when building but it works perfectly fine. Below are the ignored warnings (no runtime issues):

➤ YN0060: │ @mui/styles is listed by your project with version 5.15.3, which doesn't satisfy what material-table (p72f85) requests (5.5.0).
➤ YN0060: │ react is listed by your project with version 18.2.0, which doesn't satisfy what @mui/styles (p1eae0) and other dependencies request (^17.0.2).
➤ YN0060: │ react-dom is listed by your project with version 18.2.0, which doesn't satisfy what material-table (pc737b) and other dependencies request (^17.0.2).

material-table dependencies should be updated to reflect React 17 as a minimum requirement.

@KevinVandy
Copy link

You probably don't want to start new projects with "material-table" anymore. It's outdated and probably won't be receiving new updates. Use a community fork like Material Table Core, or a modern alternative like Material React Table that I made because this library seemed abandoned.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

4 participants