Uh oh!
There was an error while loading. Please reload this page.
fix(react): Fix jsx runtime rewrite - #12754
Conversation
alexandersorokin
commented
Jul 4, 2024
It's look like this MR will break compatibility with react@18. But Only react@17 doesn't have |
lforst
commented
Jul 4, 2024
Right, so we're a bit deadlocked. If we don't have the .js extension we break react 17, if we add the .js extension we break 18. 🤔 |
alexandersorokin
commented
Jul 4, 2024
I am sure that Sentry should support Users of |
lforst
commented
Jul 4, 2024
@alexandersorokin yup I am generally with you. I am just wondering whether there is a way we can make it work for everybody. (maybe we'll just switch back to React.createElement and live with the warning). |
alexandersorokin
commented
Jul 4, 2024
react@19 will drop support of old Nevertheless, there are enough libraries with the same issue. They are not going to make it works for everyone. So esm consumers will likely have to configure their bundler to work with both |

I screwed up the matching in the last PR: #12740