[core] Compatibility with React 19 types #42032
Labels
core
Infrastructure work going on behind the scenes
React 19 support
PRs required to support React 19
typescript
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 onelement.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 eps1lon#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.
Tasks
@types/
packages #42346any
fromReact.ReactElement
types #42380@types/
packages when published (DefinitelyTyped#69022) and fix remaining issues (see #42346)Search keywords: types react 19
The text was updated successfully, but these errors were encountered: