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
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.
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 #42346@types/
packages when published (DefinitelyTyped#69022) and fix remaining issues (see #42346)any
fromReact.ReactElement
types #42380Search keywords: types react 19
The text was updated successfully, but these errors were encountered: