Skip to content

Support React v18 #536

@MLNW

Description

@MLNW

Is your feature request related to a problem? Please describe.

I want to use this package with React v18. When I upgrade my dependencies accordingly, pnpm shows the following peerDependency issues:

├─┬ @material-table/core
│ ├─┬ react-beautiful-dnd
│ │ ├── ✕ unmet peer react@"^16.8.5 || ^17.0.0": found 18.0.0
│ │ ├── ✕ unmet peer react-dom@"^16.8.5 || ^17.0.0": found 18.0.0
│ │ ├─┬ react-redux
│ │ │ └── ✕ unmet peer react@"^16.8.3 || ^17": found 18.0.0
│ │ └─┬ use-memo-one
│ │   └── ✕ unmet peer react@"^16.8.0 || ^17.0.0": found 18.0.0
│ └─┬ @mui/lab
│   └─┬ @mui/x-date-pickers
│     └── ✕ unmet peer react@^17.0.2: found 18.0.0

Describe the solution you'd like
This package should natively support React v18.

Describe alternatives you've considered
Do not upgrade React until its new version is supported.

Additional context

Relevant package versions:

"@emotion/react": "^11.9.0",
"@emotion/styled": "^11.8.1",
"@material-table/core": "^0.2.32",
"@mui/icons-material": "^5.6.2",
"@mui/lab": "^5.0.0-alpha.78",
"@mui/material": "^5.6.2",
"react": "^18.0",
"react-dom": "^18.0",

Metadata

Metadata

Assignees

Labels

dependenciesPull requests that update a dependency filelong-termThis issue may be open for a while due to misc holdups/dependencies

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions