mbrn / material-table

Datatable for React based on material-ui's table with additional features

Home Page:https://material-table.com

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Is there any upgrade to MUI v5 and React 18?

tiavina-mika opened this issue · comments

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

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

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.

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.