You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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:
JSX style comments:
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.
The text was updated successfully, but these errors were encountered:
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:
JSX style comments:
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.
The text was updated successfully, but these errors were encountered: