Material-ui: Pagination from lab can't be used out of the box with latest material ui core

Created on 9 May 2020  路  4Comments  路  Source: mui-org/material-ui

  • [x] The issue is present in the latest release.
  • [x] I have searched the issues of this repository and believe that this is not a duplicate.

Current Behavior 馃槸

I install material ui core 4.9
I install lab 4.0.0
Try to use pagination
I get
FirstPage.js?2c54:17 Uncaught TypeError: (0 , _utils.createSvgIcon) is not a function

Expected Behavior 馃

Expected is that it should render right away
I see https://github.com/mui-org/material-ui/issues/14517
but I'd not like to add manual definitions anywhere

Steps to Reproduce 馃暪

Steps:

  1. Use material ui latest
  2. Use lab pagination latest

Context 馃敠

I was just trying to use pagination

Your Environment 馃寧

Javascript

| Tech | Version |
| ----------- | ------- |
| Material-UI | v4.9.7 |
| React | 16.8.6 |
| Browser | chrome latest |
| TypeScript | no |

Pagination support

Most helpful comment

@ErroKokkarda You could also have looked at the peer dependency warnings :), As of now, the lab needs

"@material-ui/core": "^4.9.10",

All 4 comments

馃憢 Thanks for using Material-UI!

We use GitHub issues exclusively as a bug and feature requests tracker, however,
this issue appears to be a support request.

For support, please check out https://material-ui.com/getting-started/support/. Thanks!

If you have a question on StackOverflow, you are welcome to link to it here, it might help others.
If your issue is subsequently confirmed as a bug, and the report follows the issue template, it can be reopened.

I updated from v4.9.7 to v4.9.13 and it started to work
in case anyone else gets into trouble one might google it out here

@ErroKokkarda You could also have looked at the peer dependency warnings :), As of now, the lab needs

"@material-ui/core": "^4.9.10",

@oliviertassinari that fixed my problem -- we had package-locked an older version of material-ui/core. Thanks!

Was this page helpful?
0 / 5 - 0 ratings