Unlike in webstorm, I'm unable to comment JSX code out in .js files in the Visual Studio Code.
.js
You can comment out JSX by {/**/}
Example :
render() { return ( <div> <Component1 /> {/* <Component2 /> */} </div> ) }
and then Component2 would be commented out
1.4m articles
1.4m replys
5 comments
57.0k users