We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
@types/react@19
Following the instructions in the upgrade blog post gives errors from React Aria.
https://react.dev/blog/2024/04/25/react-19-upgrade-guide#removed-deprecated-typescript-types
node_modules/@react-aria/textfield/dist/types.d.ts:2:10 - error TS2305: Module '"react"' has no exported member 'DOMFactory'. 2 import { DOMFactory, HTMLAttributes, LabelHTMLAttributes, ReactDOM, RefObject } from "react"; ~~~~~~~~~~ node_modules/@react-aria/textfield/dist/types.d.ts:2:59 - error TS2305: Module '"react"' has no exported member 'ReactDOM'. 2 import { DOMFactory, HTMLAttributes, LabelHTMLAttributes, ReactDOM, RefObject } from "react";
No TypeScript error
Errors! 😧
No response
I can put one together if you really need it, but it's just imports in your code that needs to be updated.
react-spectrum/packages/@react-aria/textfield/src/useTextField.ts
Lines 14 to 22 in 5cacbdb
react-aria-components@1.2.0
Other
TypeScript error
macOS
The text was updated successfully, but these errors were encountered:
Related #6276
Sorry, something went wrong.
Ah, right. That's probably a better issue to track. Thanks!
No branches or pull requests
Provide a general summary of the issue here
Following the instructions in the upgrade blog post gives errors from React Aria.
https://react.dev/blog/2024/04/25/react-19-upgrade-guide#removed-deprecated-typescript-types
🤔 Expected Behavior?
No TypeScript error
😯 Current Behavior
Errors! 😧
💁 Possible Solution
No response
🔦 Context
No response
🖥️ Steps to Reproduce
I can put one together if you really need it, but it's just imports in your code that needs to be updated.
react-spectrum/packages/@react-aria/textfield/src/useTextField.ts
Lines 14 to 22 in 5cacbdb
Version
react-aria-components@1.2.0
What browsers are you seeing the problem on?
Other
If other, please specify.
TypeScript error
What operating system are you using?
macOS
🧢 Your Company/Team
No response
🕷 Tracking Issue
No response
The text was updated successfully, but these errors were encountered: