Skip to content

Compatibility with any React version#5

Merged
RaresAil merged 2 commits intoRaresAil:mainfrom
t3rminus:react-fix
Apr 8, 2025
Merged

Compatibility with any React version#5
RaresAil merged 2 commits intoRaresAil:mainfrom
t3rminus:react-fix

Conversation

@t3rminus
Copy link
Contributor

@t3rminus t3rminus commented Apr 8, 2025

This specifies react/jsx-runtime as an external dependency, which removes it from the bundled file. By importing it dynamically, it should now generally work with any version of React, not just the one it was bundled with.

(This fixes compatibility with React v19, while retaining compatibility with React v18 and possibly older)

@RaresAil RaresAil merged commit fe234b9 into RaresAil:main Apr 8, 2025
5 checks passed
@RaresAil
Copy link
Owner

RaresAil commented Apr 8, 2025

I will release today version 2.0.1

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.

2 participants