Closed
Description
Astro Info
Astro v4.16.16
Node v22.11.0
System Linux (x64)
Package Manager yarn
Output static
Adapter none
Integrations @astrojs/solid-js
@astrojs/react
If this issue only occurs in one browser, which browser is a problem?
No response
Describe the Bug
React 19 elements are not recognized since facebook/react#2881 renamed react.element
to react.transitional.element
. This only occurs when multiple compatible frameworks are found for a single file, for instance when using Solid.js + React simultaneously.
What's the expected result?
To render react elements using React 19
Link to Minimal Reproducible Example
https://stackblitz.com/edit/github-ymshvplf?file=src%2Fpages%2Findex.astro
Participation
- I am willing to submit a pull request for this issue.