Giter VIP home page Giter VIP logo

Comments (19)

villuv avatar villuv commented on September 2, 2024 3

@oze4 Hi, I'm the author of the MUI5 conversion pull request on original repository. If this PR is any use here I could try to port it over here. Let me know if I could help you here.

from core.

oze4 avatar oze4 commented on September 2, 2024 2

I think focusing on MUI compatibility in the next repo makes more sense. As you say, there are nice features, but it is still in alpha. So I don't see a need for this to take priority right now, or in this repo.

Thoughts?

from core.

WesleyKapow avatar WesleyKapow commented on September 2, 2024 2

Any word on this? Would love to see the onPageChange vs onChangePage changes get pulled into this.

from core.

Domino987 avatar Domino987 commented on September 2, 2024 2

I just started working on a migration to v5. I started with the third level imports to fix the tests and will move to the pagination issue next, which looks like is the only error for v5.30 as far as I can see.

from core.

vmihalachi avatar vmihalachi commented on September 2, 2024 1

@VladLegkowski looks like we will have an alpha version of the library that will support mui 5.

In the meantime you can go as far as version 5.0.11 of mui, because there are no breaking changes until then

from core.

villuv avatar villuv commented on September 2, 2024 1

Nothing either here or in original repo. Meanwhile I bumped my PR to latest alpha, there were no immediately noticable breaking changes.

from core.

villuv avatar villuv commented on September 2, 2024 1

I updated upstream pull request to v5.0.0-alpha.34 level

from core.

oze4 avatar oze4 commented on September 2, 2024

Thank you for this. Is that the best way to handle this? Just use another branch? We currently have a next repo which we are moving to TS.

from core.

vmihalachi avatar vmihalachi commented on September 2, 2024

We might also start to be compatible with only MUI 5, if maintaining two versions is too much.
It's true that it is still marked as alpha, but per my use I see it as pretty stable. And there a lot of nice things with moving to version 5 😄

https://medium.com/material-ui/2020-in-review-and-beyond-55d2cab0975c

from core.

vmihalachi avatar vmihalachi commented on September 2, 2024

Agreed!

from core.

masbaehr avatar masbaehr commented on September 2, 2024

Hi, i noticed that react 17 is already used, but in MUI 4 only react 16 is supported officially. Was this done on purpose. Could any problems arise ?

npm WARN @material-table/[email protected] requires a peer of react@^17.0.1 but none is installed. You must install peer dependencies yourself.

from core.

vmihalachi avatar vmihalachi commented on September 2, 2024

@masbaehr on my projects I'm not running into any issue. I'm also using MUI 5.0.0-alpha.11 and looks like this library is compatible until that one version.

from core.

VladLegkowski avatar VladLegkowski commented on September 2, 2024

Hi guys,

I am seeing these issues with MUI5 and material-table-core/core.

Warning: Failed prop type: The prop onPageChange is marked as required in ForwardRef(TablePagination), but its value is undefined.

Warning: Unknown event handler property onChangePage. It will be ignored.

Warning: Unknown event handler property onChangeRowsPerPage. It will be ignored.

Material-UI: The fade color utility was renamed to alpha to better describe its functionality.

Package.json

    "@material-table/core": "^2.3.24",
    "@material-ui/core": "^5.0.0-alpha.23",

from core.

VladLegkowski avatar VladLegkowski commented on September 2, 2024

Ah, I already did this migration in my codebase - https://next.material-ui.com/guides/migration-v4/.

I will need to roll back a lot of stuff to make it compatible. @vmihalachi, I know I don't deserve even to ask this question, because I can only imagine how hard it is to maintain OS package like this, but you have any idea when you will have the alpha version?

Thank you.

from core.

masbaehr avatar masbaehr commented on September 2, 2024

npm ERR! Could not resolve dependency:
npm ERR! peer react@"^17.0.1" from @material-table/[email protected]

Happened again with an older project i wanted to upgrade to table/core
I think react 16 should still be supported until MUI v5 is final, as react 17 is not supported by MUI v4

from core.

vmihalachi avatar vmihalachi commented on September 2, 2024

@villuv is there any way to download an alpha version with these changes?

from core.

villuv avatar villuv commented on September 2, 2024

@vmihalachi Just fork my version of it from https://github.com/villuv/material-table/tree/feature/mui5 and check out feature/mui5 branch. I haven't published a built package as I haven't thorougly tested it. It builds fine with yarn install; yarn build and you can use it locally with yalc, for example. Let me know if you find anything wonky.

from core.

oze4 avatar oze4 commented on September 2, 2024

Feel free to send of a PR of your fork with MUI5 compatibility and we will get it merged. Thanks!

from core.

Domino987 avatar Domino987 commented on September 2, 2024

The next branch supports v5. Closing this.

from core.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.