Skip to content

JSX type extensions should use scoped-jsx under React.JSX.IntrinsicElements #333

Description

@mattcosta7

React 18 and 19 have migrated to a scoped jsx namespace that's scoped under React - so instead of a global JSX.IntrinsicElements it's React.JSX.IntrinsicElements.

This element should use the preferred scoping instead

https://react.dev/blog/2024/04/25/react-19-upgrade-guide#the-jsx-namespace-in-typescript

This is noted in the upgrade guide. React 18 types were upgraded to suppor this as well, so it should be backward compatible

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions