Answers for "how to comment a jsx"

29

how to add comment in react js

{/* A JSX comment */}
Posted by: Guest on July-06-2020
2

how to comment out code in react js

render() {
  return (
    <div>
      <!-- This doesn't work! -->
    </div>
  )
}
Posted by: Guest on March-29-2020
1

how to write a comment in react js

/*Comment in react js*/ or {/*Another comment*/}
Posted by: Guest on September-01-2021

Code answers related to "Javascript"

Browse Popular Code Answers by Language