Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

JSX global namespace and @types/react@^19 #877

Open
kaisermann opened this issue Jan 29, 2025 · 0 comments
Open

JSX global namespace and @types/react@^19 #877

kaisermann opened this issue Jan 29, 2025 · 0 comments

Comments

@kaisermann
Copy link

kaisermann commented Jan 29, 2025

The JSX global namespace was removed in react@19: https://react.dev/blog/2024/04/25/react-19-upgrade-guide#the-jsx-namespace-in-typescript

Maybe we could leave the tw prop in the JSX namespace up to the consumer to define?

@kaisermann kaisermann changed the title JSX global namespace is overwritten when upgrading to @types/react@^19 JSX global namespace and @types/react@^19 Jan 29, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant