Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Rewatch: JSX 3 is unsupported #7659

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jul 17, 2025
Merged

Rewatch: JSX 3 is unsupported #7659

merged 1 commit into from
Jul 17, 2025

Conversation

cknitt
Copy link
Member

@cknitt cknitt commented Jul 17, 2025

No description provided.

Copy link

pkg-pr-new bot commented Jul 17, 2025

Open in StackBlitz

rescript

npm i https://pkg.pr.new/rescript-lang/rescript@7659

@rescript/darwin-arm64

npm i https://pkg.pr.new/rescript-lang/rescript/@rescript/darwin-arm64@7659

@rescript/darwin-x64

npm i https://pkg.pr.new/rescript-lang/rescript/@rescript/darwin-x64@7659

@rescript/linux-arm64

npm i https://pkg.pr.new/rescript-lang/rescript/@rescript/linux-arm64@7659

@rescript/linux-x64

npm i https://pkg.pr.new/rescript-lang/rescript/@rescript/linux-x64@7659

@rescript/win32-x64

npm i https://pkg.pr.new/rescript-lang/rescript/@rescript/win32-x64@7659

commit: 9090df5

@@ -364,7 +364,7 @@ impl Config {
pub fn get_jsx_args(&self) -> Vec<String> {
match self.jsx.to_owned() {
Some(jsx) => match jsx.version {
Some(version) if version == 3 || version == 4 => {
Some(version) if version == 4 => {
vec!["-bs-jsx".to_string(), version.to_string()]
}
Some(_version) => panic!("Unsupported JSX version"),
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Maybe show the version in the error string?
Or maybe mention people need 4 or higher?

@cknitt cknitt merged commit 7883fe2 into master Jul 17, 2025
27 checks passed
@cknitt cknitt deleted the rewatch-jsx branch July 17, 2025 15:07
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