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
2.1m questions
2.1m answers
60 comments
57.0k users