You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
A warning appears in the console saying "Warning: MTableHeader: Support for defaultProps will be removed from function components in a future major release"
To Reproduce
Have installed the following dependencies
"react": "18.2.0"
"react-dom": "18.2.0"
"@material-table/core": "6.2.11"
"@mui/material": "5.14.10",
Open browser console
Warning: MTableHeader: Support for defaultProps will be removed from function components in a future major release appears
Screenshots
Desktop (please complete the following information):
OS: Windows 10
Browser: Google Chrome
Version: 121.0.6167.161
The text was updated successfully, but these errors were encountered:
The deprecation warning is for React 19. React 19 is currently in beta. It is expected to be out of beta in June or July 2024.
So, the person working on the PR could a) Ensure it works without defaultProps in React 18 and b) Use React 19 Beta to test compatibility.
Describe the bug
A warning appears in the console saying "Warning: MTableHeader: Support for defaultProps will be removed from function components in a future major release"
To Reproduce
Have installed the following dependencies
Screenshots
Desktop (please complete the following information):
The text was updated successfully, but these errors were encountered: