material-ui
material-ui copied to clipboard
Compatibility with React 19 types
Summary
To be compatible with React 19, types must be compatible. Many changes are codemoddable with npx types-react-codemod@latest but a lot of changes need to be done manually because your relied on element.props being typed as any. There are also some 3rd party libraries that need to be be compatible first.
A full overview of the necessary changes can be found in https://github.com/eps1lon/material-ui/pull/619. You can also check out https://github.com/users/eps1lon/projects/3/views/9 to get an overview what other apps/libraries need to do for migration.
Examples
No response
Motivation
No response
Search keywords: types react 19
@DiegoAndai one more thing to be handled for React 19 compatibility. Thanks @eps1lon for the instructions :)