Skip to content

TS: Replacing deprecated JSX.Element with React.ReactNode - #545

Merged
lee00678 merged 1 commit into
f5:mainfrom
50rayn:fix/jsx-replace
Jun 9, 2025
Merged

lee00678 merged 1 commit into
f5:mainfrom
50rayn:fix/jsx-replace

Conversation

@50rayn

@50rayn 50rayn commented Apr 1, 2025

Copy link
Copy Markdown
Contributor

Noticed that #538 was replaced JSX.Element with React.ReactNode. But the generated components from ts folder still has React.ReactNode.

@lee00678

lee00678 commented Apr 9, 2025

Copy link
Copy Markdown
Collaborator

@50rayn this update break the react build. See here

@suryahanumandla

Copy link
Copy Markdown
Collaborator

@50rayn react build is still failing, please find more info here

@50rayn
50rayn force-pushed the fix/jsx-replace branch from 0218d8d to fb65edc Compare May 7, 2025 19:08
@50rayn

50rayn commented May 7, 2025

Copy link
Copy Markdown
Contributor Author

Replaced JSX.Element with ReacElement.

@lee00678 lee00678 left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@50rayn Thanks for the contribution!

@lee00678
lee00678 merged commit 327b323 into f5:main Jun 9, 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

Successfully merging this pull request may close these issues.

3 participants