-
-
Notifications
You must be signed in to change notification settings - Fork 32.7k
Closed
Labels
integration: reactAbout improving React support.About improving React support.internalBehind-the-scenes enhancement. Formerly called “core”.Behind-the-scenes enhancement. Formerly called “core”.typescript
Description
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 eps1lon#619. You can also check out React 19 types (view) to get an overview what other apps/libraries need to do for migration.
Tasks
- [core] Apply React 19 type changes that don't require upcoming
@types/packages #42346 - [core] Remove
anyfromReact.ReactElementtypes #42380 - Upgrade to updated
@types/packages when published (DefinitelyTyped#69022) and fix remaining issues (see #42346)
Search keywords: types react 19
mnajdova, gkiely, bestickley, DiegoAndai, oliviertassinari and 3 more
Metadata
Metadata
Assignees
Labels
integration: reactAbout improving React support.About improving React support.internalBehind-the-scenes enhancement. Formerly called “core”.Behind-the-scenes enhancement. Formerly called “core”.typescript