Skip to content

fix: JSX namespace usage without import#334

Merged
danilowoz merged 1 commit intodanilowoz:masterfrom
martinnaj:fix/jsx-not-defined
Jul 14, 2025
Merged

fix: JSX namespace usage without import#334
danilowoz merged 1 commit intodanilowoz:masterfrom
martinnaj:fix/jsx-not-defined

Conversation

@martinnaj
Copy link
Copy Markdown
Contributor

@martinnaj martinnaj commented Jul 6, 2025

Summary

In this section, you should give the overview of the problem and the proposed changes.
A JSX reference is present, without the necessary import (necessary in latest react + ts)

Related Issue #[issue number]

If this PR is fixing any issue, then please include - Related Issue #[issue number]
#333

Any Breaking Changes

If this PR is introducing any breaking changes then mention them in this section.

Checklist

  • [] Are all the test cases passing?
  • [] If any new feature has been added, then are the test cases updated/added?
  • [] Has the documentation been updated for the proposed change, if required?

@codesandbox
Copy link
Copy Markdown

codesandbox bot commented Jul 6, 2025

Review or Edit in CodeSandbox

Open the branch in Web EditorVS CodeInsiders

Open Preview

@danilowoz
Copy link
Copy Markdown
Owner

Please rebase your branch and leave a valid reason why this change is necessary

@martinnaj
Copy link
Copy Markdown
Contributor Author

martinnaj commented Jul 14, 2025

In this libs built files, the output, the JSX namespace is used, without being imported, this doesn't work in all envs, specifically latest TS + React, I propose using ReactElement imported directly from React, which fixes the issue but makes absolutely no functional difference

@martinnaj
Copy link
Copy Markdown
Contributor Author

@danilowoz All done, please review and merge asap

@martinnaj
Copy link
Copy Markdown
Contributor Author

@danilowoz Valid reason was given in the issue #333 and in this PR

@danilowoz danilowoz merged commit 7dd345f into danilowoz:master Jul 14, 2025
1 check passed
@github-actions
Copy link
Copy Markdown

🎉 This PR is included in version 7.1.1 🎉

The release is available on:

Your semantic-release bot 📦🚀

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

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants