Skip to content

[WTF-2548]: Configure Babel for New JSX Transform#170

Open
weirdwater wants to merge 5 commits intomasterfrom
wtf/wtf-2548-js-widgets-11-6
Open

[WTF-2548]: Configure Babel for New JSX Transform#170
weirdwater wants to merge 5 commits intomasterfrom
wtf/wtf-2548-js-widgets-11-6

Conversation

@weirdwater
Copy link
Collaborator

This PR contains

  • Bug fix
  • Feature
  • Refactor
  • Documentation
  • Other (describe)

What is the purpose of this PR?

The release of 11.6.0 introduced the new JSX transform for Typescript widgets, but failed to update the babel config for Javascript widgets. Resulting in Javascript widgets built with versions 11.6.0 and 11.8.0 to error out in runtime.

Relevant changes

Updates the babel config and other references to createElement to use the react/jsx-runtime instead.

What should be covered while testing?

  • Javascript widgets function in runtime

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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants