Skip to content
This repository was archived by the owner on Mar 12, 2025. It is now read-only.

Conversation

@qlqllu
Copy link

@qlqllu qlqllu commented Mar 12, 2025

React 19 has renamed the react.element symbol to react.transitional.element see facebook/react#28813 and https://github.com/facebook/react/blob/v19.0.0/packages/shared/ReactSymbols.js#L16

This fix checked both the new element type and the legacy element type.

@qlqllu
Copy link
Author

qlqllu commented Mar 12, 2025

@rtfeldman Could you review and merge the PR?

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant