Skip to content
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

Comments in JSX files #5453

Closed
nxy7 opened this issue Jan 8, 2023 · 2 comments
Closed

Comments in JSX files #5453

nxy7 opened this issue Jan 8, 2023 · 2 comments

Comments

@nxy7
Copy link

nxy7 commented Jan 8, 2023

I don't think you can use comments in JSX files right now. JSX files use different syntax in return type, but whole file is treated as JS, because of this JSX elements are commented with // instead of {/* content */}
Currently:
image
JSX style comments:
image

I didn't see any issue open for that yet. JSX is big part of today's software development and I think it would be nice if it was supported out of the box.

@gabydd
Copy link
Member

gabydd commented Jan 8, 2023

Currently we don't have support for block comments see #1505

@the-mikedavis
Copy link
Member

Yeah this is covered by #1505

@the-mikedavis the-mikedavis closed this as not planned Won't fix, can't repro, duplicate, stale Jan 9, 2023
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

No branches or pull requests

3 participants