Upgrading @material-ui/core to 4.6.0 breaks material-table
Describe the bug After upgrading to 4.6.0 for @material-ui/core, material-table is breaking. I believe it has something to do with importing styles/theming, but unclear.
Also on the same error but with createTypography.js and createMuiTheme.js instead of createPalette.js
Module not found: Error: Can't resolve 'deepmerge' in '/Users/[...]/node_modules/material-table/node_modules/@material-ui/core/styles'
@ /Users/[...]/node_modules/material-table/node_modules/@material-ui/core/styles/createPalette.js 17:40-60
@ /Users/[...]/node_modules/material-table/node_modules/@material-ui/core/styles/createMuiTheme.js
@ /Users/[...]/node_modules/material-table/node_modules/@material-ui/core/styles/defaultTheme.js
@ /Users/[...]/node_modules/material-table/node_modules/@material-ui/core/styles/withStyles.js
@ /Users/[...]/node_modules/material-table/dist/index.js```
Strange, I haven't seen this yet in my project with 4.6 core... maybe its a certain material-table feature that when enabled causes an issue with 4.6?
Not sure what the deal is, but it's only a problem in my files with material-table. If I install deepmerge, the errors go away. Maybe you have deepmerge already installed?
Huh interesting, I do have deepmerge installed by virtue of another component using it.
yarn list deepmerge
yarn list v1.19.1
├─ [email protected]
└─ [email protected]
└─ [email protected]
Seems like deepmerge should be added to material-table as a proper dep?
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. You can reopen it if it required.
Has anything been done to fix this?
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. You can reopen it if it required.