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

ReactHTML has no exported member. Removed in React 19 #922

Open
al9ef9 opened this issue Jan 22, 2025 · 0 comments
Open

ReactHTML has no exported member. Removed in React 19 #922

al9ef9 opened this issue Jan 22, 2025 · 0 comments

Comments

@al9ef9
Copy link

al9ef9 commented Jan 22, 2025

Hello,

it looks like Fela is not compatible with React 19.

Fela is using the React.ReactHTML export which is not available anymore.

As stated in the upgrade guide of React it has to be replaced (DefinitelyTyped/DefinitelyTyped#69022):

ReactHTML | Either ReactHTML from react-dom-factories or, if you used keyof ReactHTML, use HTMLElementType instead

Error appears in this file

The error appears on the lines 553 and 572 in this file

as: keyof React.ReactHTML,

Is it possible to replace it with HTMLElementType as mentioned above?

Thank you!

Regards

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